Skip to content

Commit aa5dc61

Browse files
committed
Merge branch 'ds/commit-graph-fsck'
Finishing touches to doc. * ds/commit-graph-fsck: config: fix commit-graph related config docs
2 parents 6201d75 + d915114 commit aa5dc61

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

Documentation/config.txt

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -927,12 +927,10 @@ core.notesRef::
927927
This setting defaults to "refs/notes/commits", and it can be overridden by
928928
the `GIT_NOTES_REF` environment variable. See linkgit:git-notes[1].
929929

930-
gc.commitGraph::
931-
If true, then gc will rewrite the commit-graph file when
932-
linkgit:git-gc[1] is run. When using linkgit:git-gc[1]
933-
'--auto' the commit-graph will be updated if housekeeping is
934-
required. Default is false. See linkgit:git-commit-graph[1]
935-
for details.
930+
core.commitGraph::
931+
If true, then git will read the commit-graph file (if it exists)
932+
to parse the graph structure of commits. Defaults to false. See
933+
linkgit:git-commit-graph[1] for more information.
936934

937935
core.useReplaceRefs::
938936
If set to `false`, behave as if the `--no-replace-objects`
@@ -1767,6 +1765,13 @@ this configuration variable is ignored, all packs except the base pack
17671765
will be repacked. After this the number of packs should go below
17681766
gc.autoPackLimit and gc.bigPackThreshold should be respected again.
17691767

1768+
gc.writeCommitGraph::
1769+
If true, then gc will rewrite the commit-graph file when
1770+
linkgit:git-gc[1] is run. When using linkgit:git-gc[1]
1771+
'--auto' the commit-graph will be updated if housekeeping is
1772+
required. Default is false. See linkgit:git-commit-graph[1]
1773+
for details.
1774+
17701775
gc.logExpiry::
17711776
If the file gc.log exists, then `git gc --auto` won't run
17721777
unless that file is more than 'gc.logExpiry' old. Default is

0 commit comments

Comments
 (0)