Skip to content

Commit

Permalink
Ensure *.sh and *.bat files keep line endings by default
Browse files Browse the repository at this point in the history
  • Loading branch information
tdonohue committed Mar 6, 2020
1 parent 7382afb commit 66d5834
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
# Auto detect text files and perform LF normalization
* text=auto

# Ensure Unix files always keep Unix line endings
*.sh text eol=lf

# Ensure Windows files always keep Windows line endings
*.bat text eol=crlf

# Standard to msysgit
*.doc diff=astextplain
*.DOC diff=astextplain
Expand Down

0 comments on commit 66d5834

Please sign in to comment.