Teach git list-objects logic not to follow gitlinks
[gitweb.git] / t / t4102-apply-rename.sh
index 22da6a00ccbe910d796dc84666caa2acfa9b8389..b4662b03647bd2f36c07ffac24adc6b5df5eef76 100755 (executable)
@@ -31,7 +31,7 @@ test_expect_success setup \
 test_expect_success apply \
     'git-apply --index --stat --summary --apply test-patch'
 
-if [ "$(git repo-config --get core.filemode)" = false ]
+if [ "$(git config --get core.filemode)" = false ]
 then
        say 'filemode disabled on the filesystem'
 else