]> git.ipfire.org Git - thirdparty/git.git/commitdiff
merge-file doc: set conflict-marker-size attribute
authorPhillip Wood <phillip.wood@dunelm.org.uk>
Fri, 28 Mar 2025 14:45:40 +0000 (14:45 +0000)
committerJunio C Hamano <gitster@pobox.com>
Sat, 29 Mar 2025 01:31:19 +0000 (10:31 +0900)
When committing a conflict resolution for a merge containing
1f010d6bdf7 (doc: use .adoc extension for AsciiDoc files, 2025-01-20)
my pre-commit hook failed because "git diff --check" thought there was
a left over conflict marker in "merge-file.adoc". Fix this by setting
the "conflict-marker-size" attribute as we do for all the other
documentation files that contain example conflict markers.

Signed-off-by: Phillip Wood <phillip.wood@dunelm.org.uk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
.gitattributes

index c6a0b35116fd9042a20a64dd2af659e47ea9ec1a..32583149c2f92729158d5eac5e81edd4c6a5c1d0 100644 (file)
@@ -13,6 +13,7 @@ CODE_OF_CONDUCT.md -whitespace
 /mergetools/* text eol=lf
 /t/oid-info/* text eol=lf
 /Documentation/git-merge.adoc conflict-marker-size=32
+/Documentation/git-merge-file.adoc conflict-marker-size=32
 /Documentation/gitk.adoc conflict-marker-size=32
 /Documentation/user-manual.adoc conflict-marker-size=32
 /t/t????-*.sh conflict-marker-size=32