mirror of
https://https.git.savannah.gnu.org/git/groff.git
synced 2026-01-26 07:37:53 +00:00
.gitattributes: Add new file for ergonomics.
Based on gnulib's.
This commit is contained in:
parent
d52d3d2918
commit
2891826b45
11
.gitattributes
vendored
Normal file
11
.gitattributes
vendored
Normal file
@ -0,0 +1,11 @@
|
||||
# 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
|
||||
|
||||
# Run this to make 'git diff' on tmac files give nicer hunk context:
|
||||
# git config diff.roff.xfuncname '^['.][ ]*de1*[ ]*.*$'
|
||||
*.tmac diff=roff
|
||||
|
||||
# Run this to make 'git diff' on texinfo files give nicer hunk context:
|
||||
# git config diff.texinfo.funcname '^@node[ ][ ]*\\([^,][^,]*\\)'
|
||||
*.texi* diff=texinfo
|
||||
Loading…
x
Reference in New Issue
Block a user