Skip to content

Commit

Permalink
Merge pull request #1557 from HarrySarson/line-endings2
Browse files Browse the repository at this point in the history
Enforce unix eol in bash script files through .gitattributes
  • Loading branch information
mislav committed Sep 4, 2017
2 parents 5481042 + a5a1dbd commit 2d34517
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .gitattributes
@@ -0,0 +1,5 @@

# enforce correct line endings for shell and batch files.
*.sh text eol=lf
script/* text eol=lf
script/*.bat text eol=crlf

0 comments on commit 2d34517

Please sign in to comment.