From: Eric Blake Date: Tue, 19 Aug 2008 06:55:51 +0000 (+0200) Subject: .gitattributes: generalize X-Git-Tag: v7.0~69 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f3574102d3fb8ce2057854bae6fb4dda786df9aa;p=platform%2Fupstream%2Fcoreutils.git .gitattributes: generalize * .gitattributes: Relax the glob pattern, so it matches *.texinfo, too. Suggest a POSIX BRE, rather than one that uses the GNU extension, \\+. --- 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]*\\([^,][^,]*\\)"