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(
15971597 timestamp_t gen ;
15981598 repo_parse_commit (info -> r , c );
15991599 gen = info -> get_generation (c , info -> data );
1600- display_progress (info -> progress , info -> progress_cnt + 1 );
1600+ display_progress (info -> progress , ++ info -> progress_cnt );
16011601
16021602 if (gen != GENERATION_NUMBER_ZERO && gen != GENERATION_NUMBER_INFINITY )
16031603 continue ;
Original file line number Diff line number Diff line change @@ -158,7 +158,7 @@ test_expect_success TTY 'with TTY: gc --no-quiet' '
158158 git -c gc.writeCommitGraph=true gc --no-quiet >stdout 2>stderr &&
159159 test_must_be_empty stdout &&
160160 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
162162'
163163
164164test_expect_success ' gc --quiet' '
You can’t perform that action at this time.
0 commit comments