Skip to content

Commit d3b5832

Browse files
phillipwoodgitster
authored andcommitted
merge-file doc: set conflict-marker-size attribute
When committing a conflict resolution for a merge containing 1f010d6 (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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 683c54c commit d3b5832

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ CODE_OF_CONDUCT.md -whitespace
1313
/mergetools/* text eol=lf
1414
/t/oid-info/* text eol=lf
1515
/Documentation/git-merge.adoc conflict-marker-size=32
16+
/Documentation/git-merge-file.adoc conflict-marker-size=32
1617
/Documentation/gitk.adoc conflict-marker-size=32
1718
/Documentation/user-manual.adoc conflict-marker-size=32
1819
/t/t????-*.sh conflict-marker-size=32

0 commit comments

Comments
 (0)