Re: [BUG] gitweb generates wrong links in grep search results (git_search_files)
- From
Jakub Narębski <jnareb@gmail.com>
- Date
- Jan 4, 2012, 16:21 UTC
- Message-ID
- <CANQwDwfnp167Uth5TLbCD6OR-Xe6JD-2vENiJVnipi1YdjnMPQ@mail.gmail.com>
- In-Reply-To
- <7vhb0cqpix.fsf@alter.siamese.dyndns.org>
On Wed, Jan 4, 2012 at 1:28 AM, Junio C Hamano <gitster@pobox.com> wrote:
Show 8 quoted lines
> Thomas Perl <th.perl@gmail.com> writes: > >> I think I found a bug in gitweb when grep'ing for text in a branch >> different from "master". Here's how to reproduce it: > > Thanks for a detailed report (and thanks for gpodder ;-). > > Jakub, care to take a look?
I see the bug: it should be 'hash_base' not 'hash' in href() creating link to "blob" view in git_search_files().
I'll try to send a fix soon...
-- Jakub Narebski