Skip to content

Commit

Permalink
gitattributes: json and yaml files LF line endings
Browse files Browse the repository at this point in the history
Always check-out / check-in json and yaml files with LF line endings.

This will also solve a few unit tests on Windows, in which the expectation is that marshalled
objects match the the content written in a few yaml or json files. On Windows, these files
may be checked out with CRLF line endings, which causes the tests to fail.
  • Loading branch information
claudiubelu committed Dec 22, 2022
1 parent 72acaad commit e9b35e7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Always check-out / check-in files with LF line endings.
* text=auto eol=lf

hack/verify-flags/known-flags.txt merge=union
test/test_owners.csv merge=union

Expand Down

0 comments on commit e9b35e7

Please sign in to comment.