gbranden pushed a commit to branch master
in repository groff.

commit 2891826b45c0889f8f6007a4d4f1ef13d49b056e
Author: G. Branden Robinson <[email protected]>
AuthorDate: Sun Jan 28 21:41:57 2024 -0600

    .gitattributes: Add new file for ergonomics.
    
    Based on gnulib's.
---
 .gitattributes | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 000000000..13098684d
--- /dev/null
+++ b/.gitattributes
@@ -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

_______________________________________________
Groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit

Reply via email to