commit-graph: create options for split files
The split commit-graph feature is now fully implemented, but needs some more run-time configurability. Allow direct callers to 'git commit-graph write --split' to specify the values used in the merge strategy and the expire time. Update the documentation to specify these values. 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
8d84097f96
commit
c2bc6e6ab0
@ -666,7 +666,8 @@ int cmd_gc(int argc, const char **argv, const char *prefix)
|
||||
|
||||
if (gc_write_commit_graph &&
|
||||
write_commit_graph_reachable(get_object_directory(),
|
||||
!quiet && !daemonized ? COMMIT_GRAPH_PROGRESS : 0))
|
||||
!quiet && !daemonized ? COMMIT_GRAPH_PROGRESS : 0,
|
||||
NULL))
|
||||
return 1;
|
||||
|
||||
if (auto_gc && too_many_loose_objects())
|
||||
|
Reference in New Issue
Block a user