]> git.ipfire.org Git - thirdparty/git.git/blobdiff - Documentation/config/fetch.txt
fetch: add fetch.writeCommitGraph config setting
[thirdparty/git.git] / Documentation / config / fetch.txt
index d402110638b4e465075bf1a59885563d15f190e1..e8cb20547c5fbbb524932fd4efe09793fd544837 100644 (file)
@@ -69,3 +69,13 @@ fetch.showForcedUpdates::
        Set to false to enable `--no-show-forced-updates` in
        linkgit:git-fetch[1] and linkgit:git-pull[1] commands.
        Defaults to true.
+
+fetch.writeCommitGraph::
+       Set to true to write a commit-graph after every `git fetch` command
+       that downloads a pack-file from a remote. Using the `--split` option,
+       most executions will create a very small commit-graph file on top of
+       the existing commit-graph file(s). Occasionally, these files will
+       merge and the write may take longer. Having an updated commit-graph
+       file helps performance of many Git commands, including `git merge-base`,
+       `git push -f`, and `git log --graph`. Defaults to false, unless
+       `feature.experimental` is true.