From 0d6f375c12f69c3114a26086b4cf99494da228ce Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Sun, 15 Oct 2023 21:37:45 +0300 Subject: [PATCH] .gitattributes: bring diff patterns --- .gitattributes | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.gitattributes b/.gitattributes index cd93902..31506c5 100644 --- a/.gitattributes +++ b/.gitattributes @@ -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