summaryrefslogtreecommitdiff
path: root/tree.c
diff options
context:
space:
mode:
authorLibravatar Ingo Brückl <ib@wupperonline.de>2016-07-30 22:13:54 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-08-01 14:25:30 -0700
commit766cdc4147f8e77b32e67338795c8f2a6083a877 (patch)
tree534815f3738ee2fdefa6e664ce21f39443d47d71 /tree.c
parentt3700: merge two tests into one (diff)
downloadtgif-766cdc4147f8e77b32e67338795c8f2a6083a877.tar.xz
t3700: add a test_mode_in_index helper function
The case statement to check the file mode of a staged file appears a number of times. Simplify the test by utilizing a test_mode_in_index helper function. Signed-off-by: Ingo Brückl <ib@wupperonline.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'tree.c')
0 files changed, 0 insertions, 0 deletions