t7063: use --force-untracked-cache to speed up a bit
When in the middle of t7063, we are sure untracked cache is supported, so we can use --force-untracked-cache to skip the support detection phase and save a few seconds. It's also good that --force-untracked-cache is exercised in the test suite. Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Nguyễn Thái Ngọc Duy committed
Aug 19, 2015 at 20:01 UTC
f178136e688f6eabe09130e79a0c9e2de58928a0
1 file changed
+1
-1
t/t7063-status-untracked-cache.sh
+1
-1
@@ -402,7 +402,7 @@ test_expect_success 'set up sparse checkout' '
402
echo "done/[a-z]*" >.git/info/sparse-checkout &&
403
test_config core.sparsecheckout true &&
404
git checkout master &&
405
- git update-index --untracked-cache &&
405
+ git update-index --force-untracked-cache &&
406
git status --porcelain >/dev/null && # prime the cache
407
test_path_is_missing done/.gitignore &&
408
test_path_is_file done/one