File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1597,7 +1597,7 @@ static void compute_reachable_generation_numbers(
1597
1597
timestamp_t gen ;
1598
1598
repo_parse_commit (info -> r , c );
1599
1599
gen = info -> get_generation (c , info -> data );
1600
- display_progress (info -> progress , info -> progress_cnt + 1 );
1600
+ display_progress (info -> progress , ++ info -> progress_cnt );
1601
1601
1602
1602
if (gen != GENERATION_NUMBER_ZERO && gen != GENERATION_NUMBER_INFINITY )
1603
1603
continue ;
Original file line number Diff line number Diff line change @@ -158,7 +158,7 @@ test_expect_success TTY 'with TTY: gc --no-quiet' '
158
158
git -c gc.writeCommitGraph=true gc --no-quiet >stdout 2>stderr &&
159
159
test_must_be_empty stdout &&
160
160
test_grep "Enumerating objects" stderr &&
161
- test_grep "Computing commit graph generation numbers" stderr
161
+ test_grep "Computing commit graph generation numbers: 100% (4/4), done. " stderr
162
162
'
163
163
164
164
test_expect_success ' gc --quiet' '
You can’t perform that action at this time.
0 commit comments