.gitattributes: specify integrated diff hunks

This commit is contained in:
Aminda Suomalainen 2023-10-15 14:56:09 +03:00
parent 8a6aa6f3fa
commit c8b9790baf
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
1 changed files with 8 additions and 2 deletions

10
.gitattributes vendored
View File

@ -1,10 +1,16 @@
# Normalize line endings for text files
# https://www.git-scm.com/docs/gitattributes#_end_of_line_conversion
* text=auto eol=lf linguist-detectable
doctoc.txt text eol=lf linguist-detectable linguist-language=markdown
doctoc.txt text diff=markdown eol=lf linguist-detectable linguist-language=markdown
# Unlikely to be ran under Windows, Linux line endings
*.bash text eol=lf
*.{sh,bash,zsh} text diff=bash eol=lf
*.bibtex text diff=bibtex eol=lf
*.css text diff=css eol=lf
*.html text diff=html eol=lf
*.{md,markdown} text diff=markdown eol=lf
*.tex text diff=tex eol=lf
# While this repository doesn't currently have anything for Windows, I may
# use this for reference