summaryrefslogtreecommitdiff
path: root/commit-graph.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2019-12-10 21:11:43 (GMT)
committerJunio C Hamano <gitster@pobox.com>2019-12-10 21:11:43 (GMT)
commit41dac79c2f49f9ea1c808f0f208bde9aa4ed91cb (patch)
tree0613e1a536b7af6ed7bf9d108ae3d7ea25976154 /commit-graph.c
parent5dd1d59d35e1d8ea2101020df18298a9675d09b9 (diff)
parentecc0869080701b5e252f74ed7b3d0156a5ec6112 (diff)
downloadgit-41dac79c2f49f9ea1c808f0f208bde9aa4ed91cb.zip
git-41dac79c2f49f9ea1c808f0f208bde9aa4ed91cb.tar.gz
git-41dac79c2f49f9ea1c808f0f208bde9aa4ed91cb.tar.bz2
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 'commit-graph.c')
-rw-r--r--commit-graph.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/commit-graph.c b/commit-graph.c
index 79bc564..e771394 100644
--- a/commit-graph.c
+++ b/commit-graph.c
@@ -1100,7 +1100,7 @@ static void compute_generation_numbers(struct write_commit_graph_context *ctx)
struct commit_list *list = NULL;
if (ctx->report_progress)
- ctx->progress = start_progress(
+ ctx->progress = start_delayed_progress(
_("Computing commit graph generation numbers"),
ctx->commits.nr);
for (i = 0; i < ctx->commits.nr; i++) {