Skip to content

Commit d653905

Browse files
committed
Set Git attributes for source files to keep LF line endings.
* .gitattributes (*.h, *.c, *.rb): Set EOL to LF.
1 parent 1e3c3c5 commit d653905

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.gitattributes

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
*.txt text
2-
*.h text
3-
*.c text
4-
*.rb text
2+
*.h text eol=lf
3+
*.c text eol=lf
4+
*.rb text eol=lf
55
*.yml text
66
*.vcproj text eol=crlf
7-
*.sh text eol=lf
7+
*.sh text eol=lf

0 commit comments

Comments
 (0)