Add .gitattribute (#637)
Lines in `.sh` scripts must always end with `lf`, even in Windows' git shell
This commit is contained in:
11
.gitattributes
vendored
Normal file
11
.gitattributes
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
###############################################################################
|
||||
# Set default behavior to automatically normalize line endings.
|
||||
###############################################################################
|
||||
* text=auto
|
||||
|
||||
###############################################################################
|
||||
# behavior for Unix scripts
|
||||
#
|
||||
# Unix scripts are treated as binary by default.
|
||||
###############################################################################
|
||||
*.sh eol=lf
|
||||
Reference in New Issue
Block a user