Add .gitattribute (#637)
Lines in `.sh` scripts must always end with `lf`, even in Windows' git shell
This commit is contained in:
parent
1243405807
commit
145ea15be3
1 changed files with 11 additions and 0 deletions
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
|
Loading…
Reference in a new issue