Jeremy Huddleston Sequoia [off-list ref] writes:
t3700-add.sh recently added the 'git add --chmod=-x stages an executable file with -x' test. This test passes when run as a normal user but fails when run as root:
$ ./t3700-add.sh
This has been spotted and corrected on the development track
already, I think. It will hopefully be in a future maintenance
release.
If you have a chance, perhaps you can fetch from my tree at
git.kernel.org:/pub/scm/git/git.git and merge 766cdc41 (t3700: add a
test_mode_in_index helper function, 2016-07-30) to confirm the fix?
Thanks.