diff options
author | Eric Blake <ebb9@byu.net> | 2009-08-13 07:15:28 -0600 |
---|---|---|
committer | Eric Blake <ebb9@byu.net> | 2009-08-14 06:44:52 -0600 |
commit | d001fc5a98e98911ff976bdb31581824bc0e920d (patch) | |
tree | bda4b505cb4cb7a1d987731510f1214c1d48fd06 /.gitattributes | |
parent | 61f2a4dca564b335446b2d7a42bfe8acaa65a915 (diff) | |
download | gnulib-d001fc5a98e98911ff976bdb31581824bc0e920d.tar.gz |
doc: improve git diff of texinfo files
* .gitattributes: Add rule for *.texi files, with hint on how to
use it.
Copied from m4, and based on a report by Bruno Haible.
Signed-off-by: Eric Blake <ebb9@byu.net>
Diffstat (limited to '.gitattributes')
-rw-r--r-- | .gitattributes | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes index ca4ea2772a..35a14df8a2 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1 +1,6 @@ +# See lib/git-merge-changelog.c for making this useful. 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 |