Skip to content

Commit 1e41600

Browse files
committed
build: force LF line endings so golden tests pass on Windows
Signed-off-by: Joshua Temple <joshua.temple@stablekernel.com>
1 parent 9333b01 commit 1e41600

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.gitattributes

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Normalize line endings to LF on checkout for every platform. Golden tests
2+
# compare serialized output (which uses \n) byte-for-byte against committed
3+
# fixtures; without this, Windows checks the fixtures out as CRLF and the
4+
# comparisons fail.
5+
* text=auto eol=lf

0 commit comments

Comments
 (0)