commit-graph: implement "--append" option
Teach git-commit-graph to add all commits from the existing commit-graph file to the file about to be written. This should be used when adding new commits without performing garbage collection. Signed-off-by: Derrick Stolee <dstolee@microsoft.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:

committed by
Junio C Hamano

parent
3d5df01b5e
commit
7547b95b4f
@ -40,6 +40,7 @@ void write_commit_graph(const char *obj_dir,
|
||||
const char **pack_indexes,
|
||||
int nr_packs,
|
||||
const char **commit_hex,
|
||||
int nr_commits);
|
||||
int nr_commits,
|
||||
int append);
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user