Re: [PATCH v3 3/3] t3700: add a test_mode_in_index helper function

2016-08-01 Thread Junio C Hamano
Ingo Brückl writes: Ingo Brückl writes: > 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 > --- > t/t3700-add.sh | 54 ++-

[PATCH v3 3/3] t3700: add a test_mode_in_index helper function

2016-07-30 Thread Ingo Brückl
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 --- t/t3700-add.sh | 54 ++ 1 file changed, 22 insertions(+),