Skip to content

Commit

Permalink
Add .gitattributes rule to not mangle .sh files on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
dionrhys committed Jun 17, 2019
1 parent 073808b commit e7c7a64
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .gitattributes
Expand Up @@ -20,3 +20,7 @@
*.PDF diff=astextplain *.PDF diff=astextplain
*.rtf diff=astextplain *.rtf diff=astextplain
*.RTF diff=astextplain *.RTF diff=astextplain

# Set line endings to LF, even on Windows. Otherwise, execution within Docker fails.
# See https://help.github.com/articles/dealing-with-line-endings/
*.sh text eol=lf

0 comments on commit e7c7a64

Please sign in to comment.