Merge branch 'tb/commit-graph-split-strategy'
"git commit-graph write" learned different ways to write out split files. * tb/commit-graph-split-strategy: Revert "commit-graph.c: introduce '--[no-]check-oids'" commit-graph.c: introduce '--[no-]check-oids' commit-graph.h: replace 'commit_hex' with 'commits' oidset: introduce 'oidset_size' builtin/commit-graph.c: introduce split strategy 'replace' builtin/commit-graph.c: introduce split strategy 'no-merge' builtin/commit-graph.c: support for '--split[=<strategy>]' t/helper/test-read-graph.c: support commit-graph chains
This commit is contained in:
5
oidset.h
5
oidset.h
@ -54,6 +54,11 @@ int oidset_insert(struct oidset *set, const struct object_id *oid);
|
||||
*/
|
||||
int oidset_remove(struct oidset *set, const struct object_id *oid);
|
||||
|
||||
/**
|
||||
* Returns the number of oids in the set.
|
||||
*/
|
||||
int oidset_size(struct oidset *set);
|
||||
|
||||
/**
|
||||
* Remove all entries from the oidset, freeing any resources associated with
|
||||
* it.
|
||||
|
Reference in New Issue
Block a user