diff options
author | Bruno Haible <bruno@clisp.org> | 2023-02-17 23:17:34 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2023-02-17 23:17:34 +0100 |
commit | fcfc2b3143d62958d21c49ab920f7cd9d936c40a (patch) | |
tree | 421644de24f4145eab2b9bbb4db3543243910101 /.gitattributes | |
parent | 73839625c871e0f62e7f9e0f0e2854730c2c3588 (diff) | |
download | gnulib-fcfc2b3143d62958d21c49ab920f7cd9d936c40a.tar.gz |
Improve 'git diff' of *.m4 files.
* .gitattributes: Add rule for *.m4 files.
Diffstat (limited to '.gitattributes')
-rw-r--r-- | .gitattributes | 4 |
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 |