Browse Source

Adjust .gitattributes

Remove .hgignore (no longer in Mercurial)
rarified/unify-line-endings
rarified 1 year ago
parent
commit
22f3ab2bff
2 changed files with 81 additions and 18 deletions
  1. +81
    -0
      .gitattributes
  2. +0
    -18
      .hgignore

+ 81
- 0
.gitattributes View File

@ -0,0 +1,81 @@
# .gitattributes snippet to force users to use same line endings for project.
#
# Handle line endings automatically for files detected as text
# and leave all files detected as binary untouched.
* text=auto
#
# The above will handle all files NOT found below
# https://help.github.com/articles/dealing-with-line-endings/
# https://github.com/Danimoth/gitattributes/blob/master/Web.gitattributes
# These files are text and should be normalized (Convert crlf => lf)
*.php text
*.css text
*.js text
*.json text
*.htm text
*.html text
*.xml text
*.txt text
*.ini text
*.inc text
*.pl text
*.rb text
*.py text
*.scm text
*.sql text
.htaccess text
*.sh text
# These files are binary and should be left untouched
# (binary is a macro for -text -diff)
*.7z binary
*.bin binary
*.bmp binary
*.bsc binary
*.chi binary
*.chm binary
*.dat binary
*.db binary
*.db-wal binary
*.dll binary
*.efx binary
*.exe binary
*.exp binary
*.fla binary
*.flv binary
*.gif binary
*.gz binary
*.ico binary
*.idb binary
*.ilk binary
*.iobj binary
*.ipdb binary
*.jpeg binary
*.jpg binary
*.lib binary
*.mov binary
*.mp3 binary
*.mp4 binary
*.mui binary
*.ncb binary
*.obj binary
*.ogg binary
*.pdf binary
*.png binary
*.ppm binary
*.props binary
*.pyc binary
*.pyd binary
*.rs binary
*.sdf binary
*.swf binary
*.ttf binary
*.user binary
*.v10 binary
*.vc6 binary
*.wav binary
*.zip binary

+ 0
- 18
.hgignore View File

@ -1,18 +0,0 @@
syntax: glob
*.aps
*.ncb
*.opensdf
*.pyc
*.sdf
*.suo
*.user
syntax: regexp
Debug*/
Release*/
^MOULOpenSourceClientPlugin/Plasma20/Doxy/
^MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/Apps/plClient/external/render/
^MOULOpenSourceClientPlugin/Plasma20/test/
^MOULOpenSourceClientPlugin/Plasma20/tools/
^MOULOpenSourceClientPlugin/StaticSDKs/
^patch/
ipch/

Loading…
Cancel
Save