diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2015-08-19 16:01:24 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-08-19 20:37:13 +0300 |
commit | f178136e688f6eabe09130e79a0c9e2de58928a0 (patch) | |
tree | c52e547d4bb1f985459eef762ef943e7011f07c5 /t/t7063-status-untracked-cache.sh | |
parent | 7687252f3f7def11a862a0fd118c531ee630bd05 (diff) |
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>
Diffstat (limited to 't/t7063-status-untracked-cache.sh')
-rwxr-xr-x | t/t7063-status-untracked-cache.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t7063-status-untracked-cache.sh b/t/t7063-status-untracked-cache.sh index ff23f4e94e..744e922699 100755 --- a/t/t7063-status-untracked-cache.sh +++ b/t/t7063-status-untracked-cache.sh @@ -402,7 +402,7 @@ test_expect_success 'set up sparse checkout' ' echo "done/[a-z]*" >.git/info/sparse-checkout && test_config core.sparsecheckout true && git checkout master && - git update-index --untracked-cache && + git update-index --force-untracked-cache && git status --porcelain >/dev/null && # prime the cache test_path_is_missing done/.gitignore && test_path_is_file done/one |