Skip to content

Commit d1ae8ba

Browse files
committed
Merge branch 'tb/commit-graph-no-check-oids' into master
Fix to the code to produce progress bar, which is new in the upcoming release. * tb/commit-graph-no-check-oids: commit-graph: fix "Collecting commits from input" progress line
2 parents 1863dbd + 862aead commit d1ae8ba

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

builtin/commit-graph.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ static int graph_write(int argc, const char **argv)
251251
}
252252
}
253253

254-
254+
stop_progress(&progress);
255255
}
256256

257257
if (write_commit_graph(odb,
@@ -264,8 +264,6 @@ static int graph_write(int argc, const char **argv)
264264
cleanup:
265265
string_list_clear(&pack_indexes, 0);
266266
strbuf_release(&buf);
267-
if (progress)
268-
stop_progress(&progress);
269267
return result;
270268
}
271269

0 commit comments

Comments
 (0)