summaryrefslogtreecommitdiff
path: root/compat/mingw.c
diff options
context:
space:
mode:
authorLibravatar Victoria Dye <vdye@github.com>2022-01-11 18:04:59 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2022-01-13 13:49:44 -0800
commit1624333ec1486378c44ce38e4f8ae9d02c07d15a (patch)
tree1c7fd4f92c99a74cb92b2148f2777f05b20522d3 /compat/mingw.c
parentreset: fix validation in sparse index test (diff)
downloadtgif-1624333ec1486378c44ce38e4f8ae9d02c07d15a.tar.xz
reset: reorder wildcard pathspec conditions
Rearrange conditions in method determining whether index expansion is necessary when a pathspec is specified for `git reset`, placing less expensive condition first. Additionally, add details & examples to related code comments to help with readability. Helped-by: Elijah Newren <newren@gmail.com> Signed-off-by: Victoria Dye <vdye@github.com> Reviewed-by: Elijah Newren <newren@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'compat/mingw.c')
0 files changed, 0 insertions, 0 deletions