]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/t7063-status-untracked-cache.sh
config: add core.untrackedCache
[thirdparty/git.git] / t / t7063-status-untracked-cache.sh
index 0e8d0d42f2f5b1edbc18d46da77c956cd99dadec..253160a161d38cfb36ef1bd25e318d35f33176f2 100755 (executable)
@@ -8,10 +8,8 @@ avoid_racy() {
        sleep 1
 }
 
-# It's fine if git update-index returns an error code other than one,
-# it'll be caught in the first test.
 test_lazy_prereq UNTRACKED_CACHE '
-       { git update-index --untracked-cache; ret=$?; } &&
+       { git update-index --test-untracked-cache; ret=$?; } &&
        test $ret -ne 1
 '