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)
16571657{
16581658 struct commit_graph * g = ctx -> r -> objects -> commit_graph ;
16591659 uint32_t current_graph_number = ctx -> num_commit_graphs_before ;
1660- struct strbuf progress_title = STRBUF_INIT ;
16611660
16621661 while (g && current_graph_number >= ctx -> num_commit_graphs_after ) {
16631662 current_graph_number -- ;
16641663
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 );
16691666
16701667 merge_commit_graph (ctx , g );
16711668 stop_progress (& ctx -> progress );
1672- strbuf_release (& progress_title );
16731669
16741670 g = g -> base_graph ;
16751671 }
You can’t perform that action at this time.
0 commit comments