summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>2007-01-10 12:22:50 (GMT)
committerJunio C Hamano <junkio@cox.net>2007-01-10 16:31:29 (GMT)
commit1b510aa442d992b9983282abfad5743ac0e9be54 (patch)
tree5a87254fbda0518896f72057c363ae9eab612ff2
parent9a0eaf83eab5f53db0ba6a514c4d4cf16e846f30 (diff)
downloadgit-1b510aa442d992b9983282abfad5743ac0e9be54.zip
git-1b510aa442d992b9983282abfad5743ac0e9be54.tar.gz
git-1b510aa442d992b9983282abfad5743ac0e9be54.tar.bz2
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 738d151..8e8d526 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` &&