* .gitattributes: Better diff output for texinfo sources.
authorJim Meyering <meyering@redhat.com>
Fri, 8 Aug 2008 10:47:34 +0000 (12:47 +0200)
committerJim Meyering <meyering@redhat.com>
Sat, 9 Aug 2008 14:56:01 +0000 (16:56 +0200)
.gitattributes [new file with mode: 0644]

diff --git a/.gitattributes b/.gitattributes
new file mode 100644 (file)
index 0000000..6093269
--- /dev/null
@@ -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]\\+\\([^,]\\+\\)"