bison-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

git: add diff patterns for Autotest and Texinfo


From: Akim Demaille
Subject: git: add diff patterns for Autotest and Texinfo
Date: Fri, 6 Aug 2021 18:02:54 +0200

commit 85032e96303f45c61324761b0328e60555e8d42a
Author: Akim Demaille <akim.demaille@gmail.com>
Date:   Fri Aug 6 07:36:41 2021 +0200

    git: add diff patterns for Autotest and Texinfo

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 <https://git-scm.com/docs/git-config#_includes>.
+
+[diff "autotest"]
+        xfuncname = "^((m4_define|m4_pushdef|AT_SETUP).*)$"
+
+[diff "texinfo"]
+        xfuncname = "^@node .*$"




reply via email to

[Prev in Thread] Current Thread [Next in Thread]