.gitattributes 1.19 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
# Set the default behavior, in case people don't have core.autocrlf set.

# 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
#

#
## These files are text and should be normalized (Convert crlf => lf)
#

# git config
.gitattributes	text
.gitignore		text

# Documentation
*.md			text
CHANGES			text

# Startup script
init.*			text

# Various
*.ini			text
*.txt			text
*.less			text
*.h				text
*.in			text

# Python Source files
*.pxd			text
*.py 			text
*.py3 			text
*.pyw 			text
*.pyx  			text

Bacardicoke's avatar
Bacardicoke committed
40 41
# Mako template
*.mako			text
42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79

# Web file
*.htm text
*.html text
*.css text
*.js text
*.xml text

#
## These files are binary and should be left untouched
#

# Python Binary files
*.db			binary
*.p 			binary
*.pkl 			binary
*.pyc 			binary
*.pyd			binary
*.pyo 			binary

# These files are binary and should be left untouched
# (binary is a macro for -text -diff)
*.png			binary
*.jpg			binary
*.jpeg			binary
*.gif			binary
*.ico			binary
*.swf			binary
*.gz			binary
*.zip			binary
*.7z			binary
*.ttf			binary
*.svg			binary
*.woff			binary
*.eot			binary
*.rar			binary
*.dll			binary
*.lib