.gitattributes: attempt to specify integrated diff hunks that I encounter

This commit is contained in:
Aminda Suomalainen 2023-10-15 14:44:41 +03:00
parent be650b5dfe
commit c314a3c7d5
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q

16
.gitattributes vendored
View File

@ -1,6 +1,22 @@
# See https://www.git-scm.com/docs/gitattributes#_effects for more information
* text=auto eol=lf linguist-detectable
# Hunk headers for diff shipped with git
# https://www.git-scm.com/docs/gitattributes#_defining_a_custom_hunk_header
*.{sh,bash,zsh} text diff=bash eol=lf
*.bibtex text diff=bibtex eol=lf
*.cpp text diff=cpp eol=lf
*.css text diff=css eol=lf
*.go text diff=golang eol=lf
*.html text diff=html eol=lf
*.java text diff=java eol=lf
*.{md,markdown} text diff=markdown eol=lf
*.pl text diff=perl eol=lf
*.php text diff=php eol=lf
*.py text diff=python eol=lf
*.rb text diff=ruby eol=lf
*.tex text diff=tex eol=lf
# These files are scary, let's not touch them
# Lockable is provided by git-lfs
LICENSE text lockable