gitattributes: Set text files to LF endings
Avoids bash shebang issues on Windows
This commit is contained in:
6
.gitattributes
vendored
6
.gitattributes
vendored
@@ -1,2 +1,6 @@
|
|||||||
src/*/bindings/* linguist-generated=true
|
# Use the following to delete tracked source files and replace them with LF endings
|
||||||
|
# git ls-files -z | xargs -0 rm
|
||||||
|
# git reset --hard
|
||||||
|
|
||||||
|
# Force LF endings to text files
|
||||||
|
* text=auto eol=lf
|
||||||
|
|||||||
Reference in New Issue
Block a user