Skip to content

Commit b1f388a

Browse files
committed
Specified line endings for script files
1 parent a9cab33 commit b1f388a

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.gitattributes

+9
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
* text=auto
22

3+
# Force bash scripts to always use lf line endings so that if a repo is accessed
4+
# in Unix via a file share from Windows, the scripts will work.
5+
*.in text eol=lf
6+
*.sh text eol=lf
7+
8+
# Likewise, force cmd and batch scripts to always use crlf
9+
*.cmd text eol=crlf
10+
*.bat text eol=crlf
11+
312
*.cs text=auto diff=csharp
413
*.csproj text=auto
514
*.sln text=auto

0 commit comments

Comments
 (0)