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
|
* text=auto
README text=auto
Makefile text=auto
# image files and such
*.pdf -text
*.ico -text
*.icns -text
*.tiff -text
*.png -text
# executables
run -text
run_d -text
runw -text
runw_d -text
*.exe -text
*.dll -text
# misc
*.sqlite3 -text
*.egg -text
*.zip -text
# Tests relay on fixed \n line end
/tests/unit/test_modulegraph/testdata/test.txt text eol=lf
# Language aware diff headers
# https://tekin.co.uk/2020/10/better-git-diff-output-for-ruby-python-elixir-and-more
# https://gist.github.com/tekin/12500956bd56784728e490d8cef9cb81
# https://github.com/git/git/blob/master/userdiff.c
*.c diff=cpp
*.h diff=cpp
*.md diff=markdown
*.py diff=python
*.rc diff=pascal
*.spec diff=python
*.toc diff=python
wscript diff=python
|