summaryrefslogtreecommitdiffstats
path: root/commit-graph.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2024-06-21 00:45:14 +0200
committerJunio C Hamano <gitster@pobox.com>2024-06-21 00:45:14 +0200
commite4ecba994c731fb23786b5ae0b6cddc13694fce1 (patch)
tree0f331fe26b10c7d7a1ce738058e1bf254bd15884 /commit-graph.c
parentMerge branch 'ps/abbrev-length-before-setup-fix' (diff)
parentcommit-graph: increment progress indicator (diff)
downloadgit-e4ecba994c731fb23786b5ae0b6cddc13694fce1.tar.xz
git-e4ecba994c731fb23786b5ae0b6cddc13694fce1.zip
Merge branch 'ds/ahead-behind-fix'
Fix for a progress bar. * ds/ahead-behind-fix: commit-graph: increment progress indicator
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 e5dd3553df..41a2e1b4c6 100644
--- a/commit-graph.c
+++ b/commit-graph.c
@@ -1597,7 +1597,7 @@ static void compute_reachable_generation_numbers(
timestamp_t gen;
repo_parse_commit(info->r, c);
gen = info->get_generation(c, info->data);
- display_progress(info->progress, info->progress_cnt + 1);
+ display_progress(info->progress, ++info->progress_cnt);
if (gen != GENERATION_NUMBER_ZERO && gen != GENERATION_NUMBER_INFINITY)
continue;