@@ -1534,6 +1534,7 @@ static void close_reachable(struct write_commit_graph_context *ctx)
1534
1534
1535
1535
if (ctx -> report_progress )
1536
1536
ctx -> progress = start_delayed_progress (
1537
+ the_repository ,
1537
1538
_ ("Loading known commits in commit graph" ),
1538
1539
ctx -> oids .nr );
1539
1540
for (i = 0 ; i < ctx -> oids .nr ; i ++ ) {
@@ -1551,6 +1552,7 @@ static void close_reachable(struct write_commit_graph_context *ctx)
1551
1552
*/
1552
1553
if (ctx -> report_progress )
1553
1554
ctx -> progress = start_delayed_progress (
1555
+ the_repository ,
1554
1556
_ ("Expanding reachable commits in commit graph" ),
1555
1557
0 );
1556
1558
for (i = 0 ; i < ctx -> oids .nr ; i ++ ) {
@@ -1571,6 +1573,7 @@ static void close_reachable(struct write_commit_graph_context *ctx)
1571
1573
1572
1574
if (ctx -> report_progress )
1573
1575
ctx -> progress = start_delayed_progress (
1576
+ the_repository ,
1574
1577
_ ("Clearing commit marks in commit graph" ),
1575
1578
ctx -> oids .nr );
1576
1579
for (i = 0 ; i < ctx -> oids .nr ; i ++ ) {
@@ -1688,6 +1691,7 @@ static void compute_topological_levels(struct write_commit_graph_context *ctx)
1688
1691
if (ctx -> report_progress )
1689
1692
info .progress = ctx -> progress
1690
1693
= start_delayed_progress (
1694
+ the_repository ,
1691
1695
_ ("Computing commit graph topological levels" ),
1692
1696
ctx -> commits .nr );
1693
1697
@@ -1722,6 +1726,7 @@ static void compute_generation_numbers(struct write_commit_graph_context *ctx)
1722
1726
if (ctx -> report_progress )
1723
1727
info .progress = ctx -> progress
1724
1728
= start_delayed_progress (
1729
+ the_repository ,
1725
1730
_ ("Computing commit graph generation numbers" ),
1726
1731
ctx -> commits .nr );
1727
1732
@@ -1798,6 +1803,7 @@ static void compute_bloom_filters(struct write_commit_graph_context *ctx)
1798
1803
1799
1804
if (ctx -> report_progress )
1800
1805
progress = start_delayed_progress (
1806
+ the_repository ,
1801
1807
_ ("Computing commit changed paths Bloom filters" ),
1802
1808
ctx -> commits .nr );
1803
1809
@@ -1877,6 +1883,7 @@ int write_commit_graph_reachable(struct object_directory *odb,
1877
1883
data .commits = & commits ;
1878
1884
if (flags & COMMIT_GRAPH_WRITE_PROGRESS )
1879
1885
data .progress = start_delayed_progress (
1886
+ the_repository ,
1880
1887
_ ("Collecting referenced commits" ), 0 );
1881
1888
1882
1889
refs_for_each_ref (get_main_ref_store (the_repository ), add_ref_to_set ,
@@ -1908,7 +1915,8 @@ static int fill_oids_from_packs(struct write_commit_graph_context *ctx,
1908
1915
"Finding commits for commit graph in %" PRIuMAX " packs" ,
1909
1916
pack_indexes -> nr ),
1910
1917
(uintmax_t )pack_indexes -> nr );
1911
- ctx -> progress = start_delayed_progress (progress_title .buf , 0 );
1918
+ ctx -> progress = start_delayed_progress (the_repository ,
1919
+ progress_title .buf , 0 );
1912
1920
ctx -> progress_done = 0 ;
1913
1921
}
1914
1922
for (i = 0 ; i < pack_indexes -> nr ; i ++ ) {
@@ -1959,6 +1967,7 @@ static void fill_oids_from_all_packs(struct write_commit_graph_context *ctx)
1959
1967
{
1960
1968
if (ctx -> report_progress )
1961
1969
ctx -> progress = start_delayed_progress (
1970
+ the_repository ,
1962
1971
_ ("Finding commits for commit graph among packed objects" ),
1963
1972
ctx -> approx_nr_objects );
1964
1973
for_each_packed_object (ctx -> r , add_packed_commits , ctx ,
@@ -1977,6 +1986,7 @@ static void copy_oids_to_commits(struct write_commit_graph_context *ctx)
1977
1986
ctx -> num_extra_edges = 0 ;
1978
1987
if (ctx -> report_progress )
1979
1988
ctx -> progress = start_delayed_progress (
1989
+ the_repository ,
1980
1990
_ ("Finding extra edges in commit graph" ),
1981
1991
ctx -> oids .nr );
1982
1992
oid_array_sort (& ctx -> oids );
@@ -2136,6 +2146,7 @@ static int write_commit_graph_file(struct write_commit_graph_context *ctx)
2136
2146
get_num_chunks (cf )),
2137
2147
get_num_chunks (cf ));
2138
2148
ctx -> progress = start_delayed_progress (
2149
+ the_repository ,
2139
2150
progress_title .buf ,
2140
2151
st_mult (get_num_chunks (cf ), ctx -> commits .nr ));
2141
2152
}
@@ -2348,6 +2359,7 @@ static void sort_and_scan_merged_commits(struct write_commit_graph_context *ctx)
2348
2359
2349
2360
if (ctx -> report_progress )
2350
2361
ctx -> progress = start_delayed_progress (
2362
+ the_repository ,
2351
2363
_ ("Scanning merged commits" ),
2352
2364
ctx -> commits .nr );
2353
2365
@@ -2392,7 +2404,8 @@ static void merge_commit_graphs(struct write_commit_graph_context *ctx)
2392
2404
current_graph_number -- ;
2393
2405
2394
2406
if (ctx -> report_progress )
2395
- ctx -> progress = start_delayed_progress (_ ("Merging commit-graph" ), 0 );
2407
+ ctx -> progress = start_delayed_progress (the_repository ,
2408
+ _ ("Merging commit-graph" ), 0 );
2396
2409
2397
2410
merge_commit_graph (ctx , g );
2398
2411
stop_progress (& ctx -> progress );
@@ -2874,7 +2887,8 @@ int verify_commit_graph(struct repository *r, struct commit_graph *g, int flags)
2874
2887
if (!(flags & COMMIT_GRAPH_VERIFY_SHALLOW ))
2875
2888
total += g -> num_commits_in_base ;
2876
2889
2877
- progress = start_progress (_ ("Verifying commits in commit graph" ),
2890
+ progress = start_progress (the_repository ,
2891
+ _ ("Verifying commits in commit graph" ),
2878
2892
total );
2879
2893
}
2880
2894
0 commit comments