diff options
author | Junio C Hamano <gitster@pobox.com> | 2018-10-16 16:15:58 +0900 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-10-16 16:15:58 +0900 |
commit | 36d767d02e12c1ff991511b7bd8c1d023340f2ca (patch) | |
tree | 028b22c2a0761e229d9c02e29870d2009e274bfa /commit-graph.h | |
parent | Third batch for 2.20 (diff) | |
parent | gc: fix regression in 7b0f229222 impacting --quiet (diff) | |
download | tgif-36d767d02e12c1ff991511b7bd8c1d023340f2ca.tar.xz |
Merge branch 'ab/commit-graph-progress'
Generation of (experimental) commit-graph files have so far been
fairly silent, even though it takes noticeable amount of time in a
meaningfully large repository. The users will now see progress
output.
* ab/commit-graph-progress:
gc: fix regression in 7b0f229222 impacting --quiet
commit-graph verify: add progress output
commit-graph write: add progress output
Diffstat (limited to 'commit-graph.h')
-rw-r--r-- | commit-graph.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/commit-graph.h b/commit-graph.h index b050476765..5678a8f4ca 100644 --- a/commit-graph.h +++ b/commit-graph.h @@ -60,11 +60,12 @@ struct commit_graph *load_commit_graph_one(const char *graph_file); */ int generation_numbers_enabled(struct repository *r); -void write_commit_graph_reachable(const char *obj_dir, int append); +void write_commit_graph_reachable(const char *obj_dir, int append, + int report_progress); void write_commit_graph(const char *obj_dir, struct string_list *pack_indexes, struct string_list *commit_hex, - int append); + int append, int report_progress); int verify_commit_graph(struct repository *r, struct commit_graph *g); |