diff options
author | Ramsay Jones <ramsay@ramsay1.demon.co.uk> | 2007-09-11 22:16:51 +0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2007-09-12 10:05:35 +0400 |
commit | 060fe5718455828b2ce5721d26be6399d782e415 (patch) | |
tree | 5893742a806eb5553f0e7e1d3232f8af8fe02b59 /git-send-email.perl | |
parent | 05cc2ffc572f05e8aeec495a9ab9bc9609863491 (diff) |
Fix a test failure (t9500-*.sh) on cygwin
On filesystems where it is appropriate to set core.filemode
to false, test 29 ("commitdiff(0): mode change") fails when
git-commit does not notice a file (execute) permission change.
A fix requires noting the new file execute permission in the
index with a "git update-index --chmod=+x", prior to the commit.
Add a function (note_chmod) which implements this idea, and
insert a call in each test that modifies the x permission.
Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-send-email.perl')
0 files changed, 0 insertions, 0 deletions