write_in_full: really write in full or return error on disk full.
[gitweb.git] / t / t1410-reflog.sh
index 738d1513d49356d4e7a8eaec4b5df61a0e07881c..8e8d526ef2e68fb8f50b9164f2ff032bafa104d6 100755 (executable)
@@ -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` &&