Re: searching for git commit hash - Mailing list pgsql-www

From Bruce Momjian
Subject Re: searching for git commit hash
Date
Msg-id 20120902125407.GA24536@momjian.us
Whole thread Raw
In response to Re: searching for git commit hash  (Magnus Hagander <magnus@hagander.net>)
Responses Re: searching for git commit hash
Re: searching for git commit hash
List pgsql-www
On Wed, May 30, 2012 at 04:34:27PM +0200, Magnus Hagander wrote:
> On Wed, May 30, 2012 at 4:03 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> > Marti Raudsepp <marti@juffo.org> writes:
> >> On Wed, May 30, 2012 at 8:06 AM, Magnus Hagander <magnus@hagander.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.
> 
> Should be easy enough to add if people want it - somewhere under
> www.postgresql.org/developer/ i'd assume...

Yes, I think it would be very useful to have on our website.

--  Bruce Momjian  <bruce@momjian.us>        http://momjian.us EnterpriseDB
http://enterprisedb.com
 + It's impossible for everything to be true. +



pgsql-www by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [DOCS] Confusion over "This page in other versions" links
Next
From: Peter Geoghegan
Date:
Subject: Re: searching for git commit hash