]> Kevux Git Server - rit/commit
gitattributes: disable blank-at-eof errors for clar test expectations
authorPatrick Steinhardt <ps@pks.im>
Sat, 6 Dec 2025 11:47:34 +0000 (12:47 +0100)
committerJunio C Hamano <gitster@pobox.com>
Sat, 6 Dec 2025 22:25:16 +0000 (07:25 +0900)
commit84071a6deac84fdb99d2415900d7713829de393c
tree487fe6814a4dbc50325290080c0effa1809f8e48
parent2e53d29f53e2a4c6bb5b9f8f3169c178e5ef62a0
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>
.gitattributes