diff options
Diffstat (limited to 't/t1410-reflog.sh')
-rwxr-xr-x | t/t1410-reflog.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/t/t1410-reflog.sh b/t/t1410-reflog.sh index 738d1513d4..e5bbc384f7 100755 --- a/t/t1410-reflog.sh +++ b/t/t1410-reflog.sh @@ -20,7 +20,7 @@ check_have () { } check_fsck () { - output=$(git fsck-objects --full) + output=$(git fsck --full) case "$1" in '') test -z "$output" ;; @@ -71,6 +71,8 @@ test_expect_success setup ' check_fsck && chmod +x C && + ( test "`git config --bool core.filemode`" != false || + echo executable >>C ) && git add C && test_tick && git commit -m dragon && L=`git rev-parse --verify HEAD` && |