Skip to content

Commit

Permalink
.gitattributes
Browse files Browse the repository at this point in the history
to, hpopefully, solve a problem with dos <-> unix line endings
  • Loading branch information
tansy committed Oct 10, 2023
1 parent 36f6b74 commit f351793
Showing 1 changed file with 67 additions and 0 deletions.
67 changes: 67 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
# default behavior
* text eol=lf

.* eol=lf
*.txt eol=lf

# source files
*.asm text eol=lf
*.c text eol=lf
*.cc text eol=lf
*.cpp text eol=lf
*.h text eol=lf
*.lua text eol=lf
*.py text eol=lf
*.s text eol=lf
# building sources
*.md eol=lf
*.cmake eol=lf
makefile* text eol=lf
*.mak text eol=lf
*.mk text eol=lf
*.sh text eol=lf
*.yaml text eol=lf
*.yml text eol=lf
# other sources
*.hhp text eol=lf
*.inf text eol=lf
*.nsi text eol=lf
*.wxs text eol=lf

# binaries
*.bmp binary
*.exe binary
*.gif binary
*.ico binary
*.jpeg binary
*.jpg binary
*.odt binary
*.png binary
# binary sources
*.pyc binary
*.sfx binary
# archives
*.bz2 binary
*.gz binary
*.lz binary
*.lzma binary
*.xz binary
*.rar binary
*.zip binary

# visual studio
*.def text eol=lf
*.dsp text eol=crlf
*.dsw text eol=crlf
*.manifest text eol=lf
*.rc text eol=lf
*.res binary
*.sln text eol=lf
*.suo binary
*.vcxproj* text eol=lf
*.vcproj* text eol=lf

# Windows
#*.bat text eol=crlf
#*.cmd text eol=crlf

0 comments on commit f351793

Please sign in to comment.