Skip to content

Commit 84071a6

Browse files
pks-tgitster
authored andcommitted
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>
1 parent 2e53d29 commit 84071a6

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,4 @@ CODE_OF_CONDUCT.md -whitespace
1717
/Documentation/gitk.adoc conflict-marker-size=32
1818
/Documentation/user-manual.adoc conflict-marker-size=32
1919
/t/t????-*.sh conflict-marker-size=32
20+
/t/unit-tests/clar/test/expected/* whitespace=-blank-at-eof

0 commit comments

Comments
 (0)