summaryrefslogtreecommitdiff
path: root/t/t2404-worktree-config.sh
diff options
context:
space:
mode:
authorLibravatar Ævar Arnfjörð Bjarmason <avarab@gmail.com>2021-03-28 15:15:42 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-03-28 19:03:10 -0700
commitc72da1a22bb3996ab8740b91ad2af6a54bd22777 (patch)
treed7c99c9267b6d0afbdd4726994fa5a4f038171ec /t/t2404-worktree-config.sh
parentfsck.h: re-order and re-assign "enum fsck_msg_type" (diff)
downloadtgif-c72da1a22bb3996ab8740b91ad2af6a54bd22777.tar.xz
fsck.c: call parse_msg_type() early in fsck_set_msg_type()
There's no reason to defer the calling of parse_msg_type() until after we've checked if the "id < 0". This is not a hot codepath, and parse_msg_type() itself may die on invalid input. Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t2404-worktree-config.sh')
0 files changed, 0 insertions, 0 deletions