public inbox for [email protected]  
help / color / mirror / Atom feed
From: Magnus Hagander <[email protected]>
To: Peter Geoghegan <[email protected]>
Cc: Bruce Momjian <[email protected]>
Cc: Tom Lane <[email protected]>
Cc: Marti Raudsepp <[email protected]>
Cc: PostgreSQL www <[email protected]>
Subject: Re: searching for git commit hash
Date: Tue, 4 Sep 2012 15:07:41 +0200
Message-ID: <CABUevEz=3BMpsKqEjgwHriLieD7=reOMAS=bFEEyKUL61vZXuw@mail.gmail.com> (raw)
In-Reply-To: <CAEYLb_UjNTd-NnbmWppSrwV0d2efXpL2Um6rdyi9P3B65PbX+Q@mail.gmail.com>
References: <[email protected]>
	<CABUevEzpDFk=N9nN1FLuz8XJZgMcQ2v3aTFM-SiGcFwwByQgog@mail.gmail.com>
	<CABRT9RC2TcibvR23z9LABrvwnCYVAMsav-kUJxvcqDK2KXGWCg@mail.gmail.com>
	<[email protected]>
	<CABUevEx+vPFyMO_PTZ6MN97F6wSwJKzc7DcBgrwbyZgAETfnFg@mail.gmail.com>
	<[email protected]>
	<CAEYLb_UjNTd-NnbmWppSrwV0d2efXpL2Um6rdyi9P3B65PbX+Q@mail.gmail.com>

On Sun, Sep 2, 2012 at 3:06 PM, Peter Geoghegan <[email protected]> wrote:
> On 2 September 2012 13:54, Bruce Momjian <[email protected]> wrote:
>> On Wed, May 30, 2012 at 04:34:27PM +0200, Magnus Hagander wrote:
>>> On Wed, May 30, 2012 at 4:03 PM, Tom Lane <[email protected]> wrote:
>>> > Marti Raudsepp <[email protected]> writes:
>>> >> On Wed, May 30, 2012 at 8:06 AM, Magnus Hagander <[email protected]> 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.
>
> +1
>
> I'd like to have a Google chrome extension that exposes it through a
> right-click context menu. Do you know enough javascript to throw one
> together, Magnus? :-)

Funny guy... I can test it once you've written it though.


-- 
 Magnus Hagander
 Me: http://www.hagander.net/
 Work: http://www.redpill-linpro.com/




view thread (19+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected], [email protected], [email protected]
  Subject: Re: searching for git commit hash
  In-Reply-To: <CABUevEz=3BMpsKqEjgwHriLieD7=reOMAS=bFEEyKUL61vZXuw@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox