Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1T89tK-0006ea-1u for pgsql-www@postgresql.org; Sun, 02 Sep 2012 13:07:06 +0000 Received: from outmail148161.authsmtp.com ([62.13.148.161]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1T89tE-0002y5-VY for pgsql-www@postgresql.org; Sun, 02 Sep 2012 13:07:05 +0000 Received: from mail-c193.authsmtp.com (mail-c193.authsmtp.com [62.13.128.118]) by punt6.authsmtp.com (8.14.2/8.14.2/Kp) with ESMTP id q82D6wV6016861 for ; Sun, 2 Sep 2012 14:06:58 +0100 (BST) Received: from mail-ob0-f174.google.com (mail-ob0-f174.google.com [209.85.214.174]) (authenticated bits=0) by mail.authsmtp.com (8.14.2/8.14.2) with ESMTP id q82D6tgl051860 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NO) for ; Sun, 2 Sep 2012 14:06:56 +0100 (BST) Received: by obbuo13 with SMTP id uo13so7935102obb.19 for ; Sun, 02 Sep 2012 06:06:55 -0700 (PDT) MIME-Version: 1.0 Received: by 10.60.29.228 with SMTP id n4mr12370054oeh.27.1346591214994; Sun, 02 Sep 2012 06:06:54 -0700 (PDT) Received: by 10.182.62.196 with HTTP; Sun, 2 Sep 2012 06:06:54 -0700 (PDT) In-Reply-To: <20120902125407.GA24536@momjian.us> References: <20120530003133.GB24440@momjian.us> <29205.1338386624@sss.pgh.pa.us> <20120902125407.GA24536@momjian.us> Date: Sun, 2 Sep 2012 14:06:54 +0100 Message-ID: Subject: Re: searching for git commit hash From: Peter Geoghegan To: Bruce Momjian Cc: Magnus Hagander , Tom Lane , Marti Raudsepp , PostgreSQL www Content-Type: text/plain; charset=ISO-8859-1 X-Server-Quench: 12a8fcfb-f4ff-11e1-97bb-002264978518 X-AuthReport-Spam: If SPAM / abuse - report it at: http://www.authsmtp.com/abuse X-AuthRoute: OCdxZQATClZNQRgX EAteCiNZVAwpPBRK HVkIKg5MOFUSTAAU LVlFBkJUK0ETX1xC QjoVBBYDHl1zRgAg KxVTbQRfcktKVQVs Wk1PDFBSHRtgBAID BxoAUx52aAdDZ38+ JE5gKnYfCxh6cEd1 RE4aEGsHYylhajEX BhMOJR4CdFUcYx5E P1FiXXRfM3gHZnhi QVNiYGBsZGVJEikH CjIVIkkLRQMUASEJ DwsPFC8kHUwDSG09 KAZuJV8AVE0WN0Az LRMhUEkYWwAB X-Authentic-SMTP: 61633235383639.1014:706 X-AuthFastPath: 0 (Was 255) X-AuthSMTP-Origin: 209.85.214.174/25 X-AuthVirus-Status: No virus detected - but ensure you scan with your own anti-virus system. X-Pg-Spam-Score: -2.6 (--) X-Archive-Number: 201209/3 X-Sequence-Number: 20938 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? :-) -- Peter Geoghegan http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training and Services