mirror of
https://https.git.savannah.gnu.org/git/patch.git
synced 2026-01-26 16:09:26 +00:00
Improve ‘git diff’ output if desired
* .gitattributes: New file.
This commit is contained in:
parent
248ef134f8
commit
da259855ca
7
.gitattributes
vendored
Normal file
7
.gitattributes
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
# 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
|
||||
Loading…
x
Reference in New Issue
Block a user