Skip to content

Commit cda8faa

Browse files
committed
Merge branch 'jk/commit-graph-cleanup'
A pair of small fixups to "git commit-graph" have been applied. * jk/commit-graph-cleanup: commit-graph: turn off save_commit_buffer commit-graph: don't show progress percentages while expanding reachable commits
2 parents 36d2fca + dd2e50a commit cda8faa

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

builtin/commit-graph.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,8 @@ int cmd_commit_graph(int argc, const char **argv, const char *prefix)
251251
builtin_commit_graph_usage,
252252
PARSE_OPT_STOP_AT_NON_OPTION);
253253

254+
save_commit_buffer = 0;
255+
254256
if (argc > 0) {
255257
if (!strcmp(argv[0], "read"))
256258
return graph_read(argc, argv);

commit-graph.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1050,7 +1050,7 @@ static void close_reachable(struct write_commit_graph_context *ctx)
10501050
if (ctx->report_progress)
10511051
ctx->progress = start_delayed_progress(
10521052
_("Expanding reachable commits in commit graph"),
1053-
ctx->oids.nr);
1053+
0);
10541054
for (i = 0; i < ctx->oids.nr; i++) {
10551055
display_progress(ctx->progress, i + 1);
10561056
commit = lookup_commit(ctx->r, &ctx->oids.list[i]);

0 commit comments

Comments
 (0)