summaryrefslogtreecommitdiff
path: root/.gitattributes
diff options
context:
space:
mode:
Diffstat (limited to '.gitattributes')
-rw-r--r--.gitattributes4
1 files changed, 4 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes
index 35a14df8a2..bad5997b57 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -4,3 +4,7 @@ ChangeLog merge=merge-changelog
# Run this to make 'git diff' on texinfo files give nicer hunk context:
# git config diff.texinfo.funcname '^@node[ ][ ]*\\([^,][^,]*\\)'
*.texi* diff=texinfo
+
+# Run this to make 'git diff' on .m4 files give nicer hunk context:
+# git config diff.m4.xfuncname '^((AC_DEFUN|m4_define)[^,)]*)'
+*.m4 diff=m4