libgit2

git_commit_graph_writer_options

Version:

Options structure for git_commit_graph_writer_new.

Initialize with GIT_COMMIT_GRAPH_WRITER_OPTIONS_INIT. Alternatively, you can use git_commit_graph_writer_options_init.

Signature

typedef struct git_commit_graph_writer_options { unsigned int version git_commit_graph_split_strategy_t split_strategy float size_multiple size_t max_commits };

Members

unsigned int
version
split_strategy

The strategy to use when adding new commits to a pre-existing commit-graph chain.

float
size_multiple

The number of commits in level N is less than X times the number of commits in level N + 1. Default is 2.

size_t
max_commits

The number of commits in level N + 1 is more than C commits. Default is 64000.

Parameter To

Versions