From affb7b66aa6e08aa19ccec2cc24d166a37d4a556 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Wed, 15 Jan 2020 14:29:53 +0100 Subject: Add *.md diff=md. 2020-01-15 Segher Boessenkool Jakub Jelinek * .gitattributes: Add *.md diff=md. contrib/ * gcc-git-customization.sh: Change uses to use in comment. --- .gitattributes | 4 ++++ 1 file changed, 4 insertions(+) (limited to '.gitattributes') diff --git a/.gitattributes b/.gitattributes index 13debfd..e75bfc5 100644 --- a/.gitattributes +++ b/.gitattributes @@ -4,3 +4,7 @@ *.[cCh] whitespace=indent-with-non-tab,space-before-tab,trailing-space *.cc whitespace=indent-with-non-tab,space-before-tab,trailing-space ChangeLog whitespace=indent-with-non-tab,space-before-tab,trailing-space +# Make diff on MD files use "(define" as a function marker. +# Use together with git config diff.md.xfuncname '^\(define.*$' +# which is run by contrib/gcc-git-customization.sh too. +*.md diff=md -- cgit v1.1