Re: [PATCH] gitweb: Teach "a=blob" action to be more lenient about blob/file mime type
- From
Jakub Narebski <jnareb@gmail.com>
- Date
- Dec 9, 2007, 10:06 UTC
- Message-ID
- <200712091106.14124.jnareb@gmail.com>
- In-Reply-To
- <7vk5notub9.fsf@gitster.siamese.dyndns.org>
Junio C Hamano wrote:
> Jakub Narebski <jnareb@gmail.com> 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?
Show 5 quoted lines
>> 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 <revision>:[*/].gitattributes
-- Jakub Narebski Poland