Am 21.09.2016 um 22:47 schrieb Junio C Hamano:
-test_expect_success 'file status is changed after git add --chmod=+x' '
- echo "AM foo4" >expected &&
+test_expect_success 'git add --chmod=[+-]x changes index with newly added
file' '
echo foo >foo4 &&
git add foo4 &&
git add --chmod=+x foo4 &&
- git status -s foo4 >actual &&
- test_cmp expected actual
+ test_mode_in_index 100755 foo4
'
No, that's redundant. There are plenty of other test cases that check
for this. You could just remove the case.
But I came to a different conclusion as I said in a message that crossed
yours. I hope Thomas can pick up the baton again.
-- Hannes