From f3574102d3fb8ce2057854bae6fb4dda786df9aa Mon Sep 17 00:00:00 2001 From: Eric Blake Date: Tue, 19 Aug 2008 08:55:51 +0200 Subject: [PATCH] .gitattributes: generalize * .gitattributes: Relax the glob pattern, so it matches *.texinfo, too. Suggest a POSIX BRE, rather than one that uses the GNU extension, \\+. --- .gitattributes | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitattributes b/.gitattributes index 6093269..32f18fd 100644 --- a/.gitattributes +++ b/.gitattributes @@ -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]*\\([^,][^,]*\\)" -- 2.7.4