aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>2007-01-10 13:22:50 +0100
committerJunio C Hamano <junkio@cox.net>2007-01-10 08:31:29 -0800
commit1b510aa442d992b9983282abfad5743ac0e9be54 (patch)
tree5a87254fbda0518896f72057c363ae9eab612ff2
parent9a0eaf83eab5f53db0ba6a514c4d4cf16e846f30 (diff)
downloadgit-1b510aa442d992b9983282abfad5743ac0e9be54.tar.gz
git-1b510aa442d992b9983282abfad5743ac0e9be54.tar.xz
Fix t1410 for core.filemode==false
Since c869753e, core.filemode is hardwired to false on Cygwin. So this test had no chance to succeed, since an early commit (changing just the filemode) failed, and therefore all subsequent tests. Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de> Signed-off-by: Junio C Hamano <junkio@cox.net>
-rwxr-xr-xt/t1410-reflog.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/t/t1410-reflog.sh b/t/t1410-reflog.sh
index 738d1513d..8e8d526ef 100755
--- a/t/t1410-reflog.sh
+++ b/t/t1410-reflog.sh
@@ -71,6 +71,8 @@ test_expect_success setup '
check_fsck &&
chmod +x C &&
+ ( test "`git repo-config --bool core.filemode`" != false ||
+ echo executable >>C ) &&
git add C &&
test_tick && git commit -m dragon &&
L=`git rev-parse --verify HEAD` &&