.gitattributes: bring diff patterns

This commit is contained in:
Aminda Suomalainen 2023-10-15 21:37:45 +03:00
parent 1d54a79736
commit 0d6f375c12
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q

12
.gitattributes vendored
View File

@ -1,4 +1,12 @@
* text=auto eol=lf linguist-detectable
# bash scripts are most likely ran on Linux so they have lf endings
*.bash text eol=lf
# Built-in diff patterns (disabled by default).
*.{md,markdown} diff=markdown eol=lf
*.{sh,bash,zsh} diff=bash eol=lf
*.bibtex diff=bibtex
*.java diff=java
*.pl diff=perl
*.php diff=php
*.py diff=python
*.rb diff=ruby
*.{scm,ss} diff=scheme