Move CRLF normalization from make style to git attributes
This commit is contained in:
6
.gitattributes
vendored
6
.gitattributes
vendored
@@ -1,9 +1,15 @@
|
||||
# .gitattributes
|
||||
|
||||
# prevent binary files from CRLF handling, diff and merge:
|
||||
fpga/fpga.bit -crlf -diff
|
||||
*.bin -crlf -diff
|
||||
*.z -crlf -diff
|
||||
|
||||
# Force LF
|
||||
*.c text=auto eol=lf
|
||||
*.cpp text=auto eol=lf
|
||||
*.h text=auto eol=lf
|
||||
*.lua text=auto eol=lf
|
||||
*.py text=auto eol=lf
|
||||
*.pl text=auto eol=lf
|
||||
Makefile text=auto eol=lf
|
||||
|
||||
Reference in New Issue
Block a user