aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/git-commit-graph.txt
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2020-11-02 13:17:39 -0800
committerJunio C Hamano <gitster@pobox.com>2020-11-02 13:17:39 -0800
commit307a53dd9914f65c9b6399221574e24234e4b49f (patch)
tree9fd3400f4a8f3f0782a8803a83f0f076844237ac /Documentation/git-commit-graph.txt
parentd5c2d1a0aad8ef59c83d801e6cf378dc8b312f8b (diff)
parent85102ac71b98466eaa2b9b5a568c3a1de736202d (diff)
downloadgit-307a53dd9914f65c9b6399221574e24234e4b49f.tar.gz
Merge branch 'ds/commit-graph-merging-fix'
When "git commit-graph" detects the same commit recorded more than once while it is merging the layers, it used to die. The code now ignores all but one of them and continues. * ds/commit-graph-merging-fix: commit-graph: don't write commit-graph when disabled commit-graph: ignore duplicates when merging layers
Diffstat (limited to 'Documentation/git-commit-graph.txt')
-rw-r--r--Documentation/git-commit-graph.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/Documentation/git-commit-graph.txt b/Documentation/git-commit-graph.txt
index de6b6de230..e1f48c95b3 100644
--- a/Documentation/git-commit-graph.txt
+++ b/Documentation/git-commit-graph.txt
@@ -39,7 +39,9 @@ COMMANDS
--------
'write'::
-Write a commit-graph file based on the commits found in packfiles.
+Write a commit-graph file based on the commits found in packfiles. If
+the config option `core.commitGraph` is disabled, then this command will
+output a warning, then return success without writing a commit-graph file.
+
With the `--stdin-packs` option, generate the new commit graph by
walking objects only in the specified pack-indexes. (Cannot be combined