.gitattributes: generalize
authorEric Blake <ebb9@byu.net>
Tue, 19 Aug 2008 06:55:51 +0000 (08:55 +0200)
committerJim Meyering <meyering@redhat.com>
Tue, 19 Aug 2008 06:56:29 +0000 (08:56 +0200)
* .gitattributes: Relax the glob pattern, so it matches *.texinfo, too.
Suggest a POSIX BRE, rather than one that uses the GNU extension, \\+.

.gitattributes

index 6093269..32f18fd 100644 (file)
@@ -1,7 +1,7 @@
-*.texi diff=texinfo
+*.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]\\+\\([^,]\\+\\)"
+#         funcname = "^@node[ \t][ \t]*\\([^,][^,]*\\)"