#4: corrected .gitattributes for line endings

as suggested by @rcdailey in the issue discussion.
This commit is contained in:
Andrey Prygunkov
2015-06-21 18:14:14 +02:00
parent dd81ffeb00
commit d25f723ae2

65
.gitattributes vendored
View File

@@ -1,46 +1,25 @@
#######################################
## Configure line endings
# Use LF by default.
* text eol=lf
* text=auto
# Use CRLF for certain Windows files.
*.vcproj text eol=crlf
*.sln text eol=crlf
*.nsi text eol=crlf
*.bat text eol=crlf
README-WINDOWS.txt text eol=crlf
windows/package-info.json text eol=crlf
windows/resources/resource.h text eol=crlf
windows/resources/nzbget.rc text eol=crlf
*.vcproj eol=crlf
*.sln eol=crlf
*.bat eol=crlf
README-WINDOWS.txt eol=crlf
nzbget-setup.nsi eol=crlf
windows/package-info.json eol=crlf
windows/resources/resource.h eol=crlf
windows/resources/nzbget.rc eol=crlf
# Denote all files that are truly binary and should not be modified.
*.png binary
*.jpg binary
*.jpeg binary
*.gif binary
*.ico binary
*.bmp binary
*.icns binary
*.rtf binary
# Inherited stuff
lib/par2/README text eol=crlf
#######################################
## Configure GitHub's language detector
lib/* linguist-vendored linguist-language=C++
webui/lib/* linguist-vendored
Makefile.in linguist-vendored
configure linguist-vendored
config.sub linguist-vendored
aclocal.m4 linguist-vendored
config.guess linguist-vendored
depcomp linguist-vendored
install-sh linguist-vendored
missing linguist-vendored
configure.ac linguist-vendored=false
Makefile.am linguist-vendored=false
# Configure GitHub's language detector
lib/* linguist-vendored linguist-language=C++
webui/lib/* linguist-vendored
Makefile.in linguist-vendored
configure linguist-vendored
config.sub linguist-vendored
aclocal.m4 linguist-vendored
config.guess linguist-vendored
depcomp linguist-vendored
install-sh linguist-vendored
missing linguist-vendored
configure.ac linguist-vendored=false
Makefile.am linguist-vendored=false