diff options
author | Junio C Hamano <gitster@pobox.com> | 2020-11-02 13:17:39 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-11-02 13:17:39 -0800 |
commit | 307a53dd9914f65c9b6399221574e24234e4b49f (patch) | |
tree | 9fd3400f4a8f3f0782a8803a83f0f076844237ac /Documentation | |
parent | Merge branch 'es/test-cmp-typocatcher' (diff) | |
parent | commit-graph: don't write commit-graph when disabled (diff) | |
download | tgif-307a53dd9914f65c9b6399221574e24234e4b49f.tar.xz |
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')
-rw-r--r-- | Documentation/git-commit-graph.txt | 4 |
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 |