Skip to content

Commit

Permalink
Add .gitattributes to force normalize EOLs if core.autocrlf didn't set
Browse files Browse the repository at this point in the history
All text files force to LF.

To find special non-text files to add them filter you can use

    git ls-tree --name-only -r HEAD | xargs file -N | grep -v text
  • Loading branch information
antmak committed Jul 20, 2018
1 parent 52cc779 commit 5da4357
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
* text eol=lf

*.png binary
*.bin binary
*.elf binary

0 comments on commit 5da4357

Please sign in to comment.