Re: searching for git commit hash

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Marti Raudsepp <marti(at)juffo(dot)org>
Cc: Magnus Hagander <magnus(at)hagander(dot)net>, Bruce Momjian <bruce(at)momjian(dot)us>, PostgreSQL www <pgsql-www(at)postgresql(dot)org>
Subject: Re: searching for git commit hash
Date: 2012-05-30 14:03:44
Message-ID: 29205.1338386624@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-www

Marti Raudsepp <marti(at)juffo(dot)org> writes:
> On Wed, May 30, 2012 at 8:06 AM, Magnus Hagander <magnus(at)hagander(dot)net> wrote:
>> I don't believe gitweb supports searching. You'll need to pick another
>> hash and then copy/paste on the URL.

> Well there is a "search" box in the upper right corner, but I think it
> can only search for text, not commit hashes.

I have a private page containing a text box I can type the hash into.
This is very fast and it works with hash prefixes too, which I bet
google would not.

<form action="http://git.postgresql.org/gitweb"
method="get" id="goto-commit-id">
<input type="hidden" name="p" value="postgresql.git" />
<input type="hidden" name="a" value="commitdiff" />
Git Commit Hash <input type="text" name="h" size="60" />
</form>

Dunno if enough people would use this to justify putting it on a public
page.

regards, tom lane

In response to

Responses

Browse pgsql-www by date

  From Date Subject
Next Message Magnus Hagander 2012-05-30 14:34:27 Re: searching for git commit hash
Previous Message Bruce Momjian 2012-05-30 13:09:56 Re: searching for git commit hash