Received: from magus.postgresql.org ([87.238.57.229]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1T8sr5-0000Vi-Oi for pgsql-www@postgresql.org; Tue, 04 Sep 2012 13:07:47 +0000 Received: from mail-vb0-f46.google.com ([209.85.212.46]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1T8sqz-00034Q-PP for pgsql-www@postgresql.org; Tue, 04 Sep 2012 13:07:47 +0000 Received: by mail-vb0-f46.google.com with SMTP id ff1so6563878vbb.19 for ; Tue, 04 Sep 2012 06:07:41 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-gm-message-state; bh=hut8OBHuQwZYq6P2kObWMcQSGXVrOQ41TM8sZwRuxEg=; b=HrY5HJeeG8+ra4lYWjQwSF+jSpbfl/W7XposEhjiTlS3NWRFzZyfkFGZyO38hMZfU2 ulBpyDjNvzdhvsGPpKbambSsXfMmsDsPj0HZRbYoPHOCdbHdPQSer/JYF6rgkrXLXeH6 ayxhr/bfeSerZRnwPtpNWVVhiErRJK47fJRTIsPyGBayD9R02QVdqK51+IS73NhZFO7B EkQtlOUqhHyJumzJO75WArCxpBMMKoP6PG/WQiF5VcqjUTPOzRG3e6G4XqJqD2pmROoq MUJQol2u2vT9iUq2OV7tE8AkEYkCz8jKS+PD8iq/heJWp/B9EPYriJOIgX2jw+2snaME Jf5Q== MIME-Version: 1.0 Received: by 10.52.240.205 with SMTP id wc13mr12550412vdc.35.1346764061218; Tue, 04 Sep 2012 06:07:41 -0700 (PDT) Received: by 10.58.85.226 with HTTP; Tue, 4 Sep 2012 06:07:41 -0700 (PDT) In-Reply-To: References: <20120530003133.GB24440@momjian.us> <29205.1338386624@sss.pgh.pa.us> <20120902125407.GA24536@momjian.us> Date: Tue, 4 Sep 2012 15:07:41 +0200 Message-ID: Subject: Re: searching for git commit hash From: Magnus Hagander To: Peter Geoghegan Cc: Bruce Momjian , Tom Lane , Marti Raudsepp , PostgreSQL www Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQkJ+uz3gDZjILg4DfrfEL12Z7+NtJU+cNltDTM2niZ+tJbx8ECUuXGpmGvL1Cvva+yJIgad X-Pg-Spam-Score: -2.6 (--) X-Archive-Number: 201209/8 X-Sequence-Number: 20943 On Sun, Sep 2, 2012 at 3:06 PM, Peter Geoghegan wrote: > On 2 September 2012 13:54, Bruce Momjian 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 wrote: >>> > Marti Raudsepp writes: >>> >> On Wed, May 30, 2012 at 8:06 AM, Magnus Hagander 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. >>> > >>> >
>> > method="get" id="goto-commit-id"> >>> > >>> > >>> > Git Commit Hash >>> >
>>> > >>> > 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/