.gitattributes: the diff hunks and an experiment on linguist-detectable

Maybe I don't actually need to keep repeating eol=lf?
This commit is contained in:
Aminda Suomalainen 2023-10-15 15:02:12 +03:00
parent bf0d36ca60
commit c1bf84eaa1
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q

6
.gitattributes vendored
View File

@ -5,6 +5,12 @@
# Line normalisation, GitHub language detection # Line normalisation, GitHub language detection
* text=auto eol=lf linguist-detectable * text=auto eol=lf linguist-detectable
# Integrated diff hunks, also an experiment will these remove linguist-detectable?
*.css text diff=css eol=lf
*.html text diff=html eol=lf
*.{md,markdown} text diff=markdown eol=lf
*.php text diff=php eol=lf
# These don't feel like mine # These don't feel like mine
.github/** text=auto -linguist-detectable .github/** text=auto -linguist-detectable
css/** text=auto -linguist-detectable css/** text=auto -linguist-detectable