Skip to content

Commit 55fe615

Browse files
peffgitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent f6b7572 commit 55fe615

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

t/.gitattributes

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
t[0-9][0-9][0-9][0-9]/* -whitespace
2-
/chainlint/*.expect eol=lf
2+
/chainlint/*.expect eol=lf -whitespace
33
/t0110/url-* binary
44
/t3206/* eol=lf
55
/t3900/*.txt eol=lf

0 commit comments

Comments
 (0)