path: root/commit-graph.h
diff options
authorJunio C Hamano <>2018-10-16 07:15:58 (GMT)
committerJunio C Hamano <>2018-10-16 07:15:58 (GMT)
commit36d767d02e12c1ff991511b7bd8c1d023340f2ca (patch)
tree028b22c2a0761e229d9c02e29870d2009e274bfa /commit-graph.h
parent5a0cc8aca797dbd7d2be3b67458ff880ed45cddf (diff)
parent6b89a34c89fc763292f06012318b852b74825619 (diff)
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')
1 files changed, 3 insertions, 2 deletions
diff --git a/commit-graph.h b/commit-graph.h
index b050476..5678a8f 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);