mirror of
https://github.com/gitattributes/gitattributes.git
synced 2025-01-22 08:18:50 -05:00
f4cea8743b
Add the following extensions and set them to binary: *.tif and *.tiff for TIFF files *.eps for EPS files As a vector graphics format, EPS files are written in text, but are not really human-parsable, unlike SVG files. For this reason, I have set them to binary. They certainly do not want to have EOL correction applied, so they need `-text`, and I don't think humans will typically be interested in their diff, so `-diff`, hence `binary` will suffice.
41 lines
779 B
Plaintext
41 lines
779 B
Plaintext
#common settings that generally should always be used with your language specific settings
|
|
|
|
# Auto detect text files and perform LF normalization
|
|
# http://davidlaing.com/2012/09/19/customise-your-gitattributes-to-become-a-git-ninja/
|
|
* text=auto
|
|
|
|
#
|
|
# The above will handle all files NOT found below
|
|
#
|
|
|
|
# Documents
|
|
*.doc diff=astextplain
|
|
*.DOC diff=astextplain
|
|
*.docx diff=astextplain
|
|
*.DOCX diff=astextplain
|
|
*.dot diff=astextplain
|
|
*.DOT diff=astextplain
|
|
*.pdf diff=astextplain
|
|
*.PDF diff=astextplain
|
|
*.rtf diff=astextplain
|
|
*.RTF diff=astextplain
|
|
*.md text
|
|
*.adoc text
|
|
*.textile text
|
|
*.mustache text
|
|
*.csv text
|
|
*.tab text
|
|
*.tsv text
|
|
*.sql text
|
|
|
|
# Graphics
|
|
*.png binary
|
|
*.jpg binary
|
|
*.jpeg binary
|
|
*.gif binary
|
|
*.tif binary
|
|
*.tiff binary
|
|
*.ico binary
|
|
*.svg text
|
|
*.eps binary
|