From: Junio C Hamano Date: Tue, 24 Feb 2009 08:44:15 GMT Subject: Re: [PATCH] git-gui: Fix file name pattern in .gitattributes. Message-ID: <7vskm4jkbk.fsf@gitster.siamese.dyndns.org> In-Reply-To: <1235462493-8761-1-git-send-email-j6t@kdbg.org> Johannes Sixt writes: > The pattern for the *.po files was anchored at the repository's root, but > this would match the files only in the git-gui repository itself, but > not in the version that is subtree-merged into git.git. > > Signed-off-by: Johannes Sixt > --- > .gitattributes | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/.gitattributes b/.gitattributes > index f96112d..c69f4a0 100644 > --- a/.gitattributes > +++ b/.gitattributes > @@ -1,3 +1,3 @@ > * encoding=US-ASCII > git-gui.sh encoding=UTF-8 > -/po/*.po encoding=UTF-8 > +po/*.po encoding=UTF-8 Hmm, really? $ pwd /pub/git/git.git $ git check-attr encoding git-gui/po/xx.po git-gui/xx/ja.po: encoding: UTF-8 $ git check-attr encoding git-gui/funk/po/xx.po git-gui/funk/po/xx.po: encoding: US-ASCII