Skip to content

Commit f178136

Browse files
pcloudsgitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 7687252 commit f178136

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

t/t7063-status-untracked-cache.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,7 @@ test_expect_success 'set up sparse checkout' '
402402
echo "done/[a-z]*" >.git/info/sparse-checkout &&
403403
test_config core.sparsecheckout true &&
404404
git checkout master &&
405-
git update-index --untracked-cache &&
405+
git update-index --force-untracked-cache &&
406406
git status --porcelain >/dev/null && # prime the cache
407407
test_path_is_missing done/.gitignore &&
408408
test_path_is_file done/one

0 commit comments

Comments
 (0)