summaryrefslogtreecommitdiff
path: root/include/git2
diff options
context:
space:
mode:
Diffstat (limited to 'include/git2')
-rw-r--r--include/git2/sys/commit_graph.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/git2/sys/commit_graph.h b/include/git2/sys/commit_graph.h
index 01cf8d1bf..67d95469c 100644
--- a/include/git2/sys/commit_graph.h
+++ b/include/git2/sys/commit_graph.h
@@ -115,12 +115,13 @@ typedef struct {
/**
* The number of commits in level N is less than X times the number of
- * commits in level N + 1.
+ * commits in level N + 1. Default is 2.
*/
float size_multiple;
/**
* The number of commits in level N + 1 is more than C commits.
+ * Default is 64000.
*/
size_t max_commits;
} git_commit_graph_writer_options;
@@ -129,7 +130,6 @@ typedef struct {
#define GIT_COMMIT_GRAPH_WRITER_OPTIONS_INIT \
{ \
GIT_COMMIT_GRAPH_WRITER_OPTIONS_VERSION, \
- GIT_COMMIT_GRAPH_SPLIT_STRATEGY_SINGLE_FILE, 2.0f, 64000 \
}
/**