From c1bf84eaa10f1302c109df476e0d05dacb8ce542 Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Sun, 15 Oct 2023 15:02:12 +0300 Subject: [PATCH] .gitattributes: the diff hunks and an experiment on linguist-detectable Maybe I don't actually need to keep repeating eol=lf? --- .gitattributes | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.gitattributes b/.gitattributes index 6a3ce79..bf519a9 100644 --- a/.gitattributes +++ b/.gitattributes @@ -5,6 +5,12 @@ # Line normalisation, GitHub language detection * 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 .github/** text=auto -linguist-detectable css/** text=auto -linguist-detectable