From 85032e96303f45c61324761b0328e60555e8d42a Mon Sep 17 00:00:00 2001 From: Akim Demaille Date: Fri, 6 Aug 2021 07:36:41 +0200 Subject: [PATCH] git: add diff patterns for Autotest and Texinfo --- .gitattributes | 3 ++- .gitconfig | 12 ++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 .gitconfig diff --git a/.gitattributes b/.gitattributes index 8b137891..7e39eb61 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1 +1,2 @@ - +*.at diff=autotest +*.texi diff=texinfo diff --git a/.gitconfig b/.gitconfig new file mode 100644 index 00000000..4513ad63 --- /dev/null +++ b/.gitconfig @@ -0,0 +1,12 @@ +# To use this gitconfig file, run +# +# git config --local include.path ../.gitconfig +# +# It adds an `[include]` section in .git/config. +# See . + +[diff "autotest"] + xfuncname = "^((m4_define|m4_pushdef|AT_SETUP).*)$" + +[diff "texinfo"] + xfuncname = "^@node .*$"