mirror of
https://github.com/git/git.git
synced 2026-01-11 13:23:12 +09:00
gitattributes: disable blank-at-eof errors for clar test expectations
The clar unit testing framework carries a couple of files that contain expected output for its self-tests. Some of these files expectedly end with a blank line at the end of the file, which Git would consider to be a whitespace error by default. Teach our gitattributes to ignore those errors. Suggested-by: Junio C Hamano <gitster@pobox.com> Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
2e53d29f53
commit
84071a6dea
1
.gitattributes
vendored
1
.gitattributes
vendored
@ -17,3 +17,4 @@ CODE_OF_CONDUCT.md -whitespace
|
||||
/Documentation/gitk.adoc conflict-marker-size=32
|
||||
/Documentation/user-manual.adoc conflict-marker-size=32
|
||||
/t/t????-*.sh conflict-marker-size=32
|
||||
/t/unit-tests/clar/test/expected/* whitespace=-blank-at-eof
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user