summaryrefslogtreecommitdiff
path: root/commit-graph.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2024-06-28 15:53:19 -0700
committerJunio C Hamano <gitster@pobox.com>2024-06-28 15:53:19 -0700
commit5d5675515e0a9649ed7060ef891e7cc2a6d7a4d7 (patch)
tree626bf94ed6a1f3811b29feb0e430e9688958c30c /commit-graph.c
parent112bd6a67c987032a375262ab84a66553528d041 (diff)
parentf1160393c172da29d0d0874c7d69ce76dbdc8c0c (diff)
Merge branch 'ds/ahead-behind-fix' into maint-2.45
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 45417d7412..722367281c 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;