diff options
author | Junio C Hamano <gitster@pobox.com> | 2019-12-11 00:11:43 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-12-11 00:11:43 +0300 |
commit | 41dac79c2f49f9ea1c808f0f208bde9aa4ed91cb (patch) | |
tree | 0613e1a536b7af6ed7bf9d108ae3d7ea25976154 /t/t5318-commit-graph.sh | |
parent | 5dd1d59d35e1d8ea2101020df18298a9675d09b9 (diff) | |
parent | ecc0869080701b5e252f74ed7b3d0156a5ec6112 (diff) |
Merge branch 'ds/commit-graph-delay-gen-progress'
One kind of progress messages were always given during commit-graph
generation, instead of following the "if it takes more than two
seconds, show progress" pattern, which has been corrected.
* ds/commit-graph-delay-gen-progress:
commit-graph: use start_delayed_progress()
progress: create GIT_PROGRESS_DELAY
Diffstat (limited to 't/t5318-commit-graph.sh')
-rwxr-xr-x | t/t5318-commit-graph.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/t/t5318-commit-graph.sh b/t/t5318-commit-graph.sh index 5a3e4e331a..3f03de6018 100755 --- a/t/t5318-commit-graph.sh +++ b/t/t5318-commit-graph.sh @@ -132,7 +132,7 @@ test_expect_success 'commit-graph write progress off for redirected stderr' ' test_expect_success 'commit-graph write force progress on for stderr' ' cd "$TRASH_DIRECTORY/full" && - git commit-graph write --progress 2>err && + GIT_PROGRESS_DELAY=0 git commit-graph write --progress 2>err && test_file_not_empty err ' @@ -150,7 +150,7 @@ test_expect_success 'commit-graph verify progress off for redirected stderr' ' test_expect_success 'commit-graph verify force progress on for stderr' ' cd "$TRASH_DIRECTORY/full" && - git commit-graph verify --progress 2>err && + GIT_PROGRESS_DELAY=0 git commit-graph verify --progress 2>err && test_file_not_empty err ' |