From: Jakub Narebski Date: Sun, 09 Dec 2007 10:06:13 GMT Subject: Re: [PATCH] gitweb: Teach "a=blob" action to be more lenient about blob/file mime type Message-ID: <200712091106.14124.jnareb@gmail.com> In-Reply-To: <7vk5notub9.fsf@gitster.siamese.dyndns.org> Junio C Hamano wrote: > Jakub Narebski writes: >> + } >> + } els > There is a "Huh?" on the last line, though. I'm sorry for this wart. Can you correct this, or should I send amended patch? >> P.S. BTW is there some plumbing for scripts to help with >> gitattributes, for example showing all gitattributes (or status of >> selected attributes) for given path? > > $ git grep gitattributes Documentation | grep -i display Thanks. But as far as I can see you cannot specify _revision_, i.e. git-check-attr operates _only_ on working directory, and can be run only in a work tree. For gitweb I'd like it to run in bare repository, and check $GIT_DIR/info/attributes and :[*/].gitattributes -- Jakub Narebski Poland