]> git.ipfire.org Git - thirdparty/git.git/commit
t/.gitattributes: ignore whitespace in chainlint expect files
authorJeff King <peff@peff.net>
Wed, 10 Jul 2024 08:47:04 +0000 (04:47 -0400)
committerJunio C Hamano <gitster@pobox.com>
Wed, 10 Jul 2024 17:15:40 +0000 (10:15 -0700)
commit55fe61559e8ef9e99274d9e649b0fac627a34ba9
tree22607a6a9b3c08c9c77a9ea2d950a3a65c82022f
parentf6b75726b2779faa57bd590deb882d3da157f3be
t/.gitattributes: ignore whitespace in chainlint expect files

The ".expect" files in t/chainlint/ are snippets of expected output from
the chainlint script, and do not necessarily conform to our usual code
style. Especially with the recent change to retain line numbers, blank
lines in the input script end up with trailing whitespace as we print
"3 " for line 3, for example. The point of these files is to match the
output verbatim, so let's not complain about the trailing spaces.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/.gitattributes