summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2008-08-08 12:47:34 +0200
committerJim Meyering <meyering@redhat.com>2008-08-09 16:56:01 +0200
commitb673a5b8ac32a325bb36a9a5a16747520832a456 (patch)
tree72e0aaa4089b2b3967b70a4dd074ecee434cca99
parent2a2d3f237b256e43d55c9c0149d5ceba750f30f8 (diff)
downloadcoreutils-b673a5b8ac32a325bb36a9a5a16747520832a456.tar.xz
* .gitattributes: Better diff output for texinfo sources.
-rw-r--r--.gitattributes7
1 files changed, 7 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 000000000..609326900
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1,7 @@
+*.texi diff=texinfo
+
+# Put something like the following e.g., in your ~/.gitconfig file
+# # Include proper "function name" string in diffs of texinfo.
+# # Derived from the regexp in emacs' lisp/add-log.el.
+# [diff "texinfo"]
+# funcname = "^@node[ \t]\\+\\([^,]\\+\\)"