Skip to content

Commit f137c61

Browse files
keep linux (lf) line endings in bash scripts (DataDog#183)
1 parent 18147ba commit f137c61

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Diff for: .gitattributes

+5
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@
33
###############################################################################
44
* text=auto
55

6+
# Set line endings to LF, even on Windows. Otherwise, execution within Docker fails.
7+
# See https://help.github.com/articles/dealing-with-line-endings/
8+
*.sh text eol=lf
9+
*.bash text eol=lf
10+
611
###############################################################################
712
# Set default behavior for command prompt diff.
813
#

0 commit comments

Comments
 (0)