File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -1657,19 +1657,15 @@ static void merge_commit_graphs(struct write_commit_graph_context *ctx)
1657
1657
{
1658
1658
struct commit_graph * g = ctx -> r -> objects -> commit_graph ;
1659
1659
uint32_t current_graph_number = ctx -> num_commit_graphs_before ;
1660
- struct strbuf progress_title = STRBUF_INIT ;
1661
1660
1662
1661
while (g && current_graph_number >= ctx -> num_commit_graphs_after ) {
1663
1662
current_graph_number -- ;
1664
1663
1665
- if (ctx -> report_progress ) {
1666
- strbuf_addstr (& progress_title , _ ("Merging commit-graph" ));
1667
- ctx -> progress = start_delayed_progress (progress_title .buf , 0 );
1668
- }
1664
+ if (ctx -> report_progress )
1665
+ ctx -> progress = start_delayed_progress (_ ("Merging commit-graph" ), 0 );
1669
1666
1670
1667
merge_commit_graph (ctx , g );
1671
1668
stop_progress (& ctx -> progress );
1672
- strbuf_release (& progress_title );
1673
1669
1674
1670
g = g -> base_graph ;
1675
1671
}
You can’t perform that action at this time.
0 commit comments