From: Junio C Hamano Date: Mon, 30 Jul 2012 18:29:27 GMT Subject: Re: A new way to get a sha1? Message-ID: <7vboixqf08.fsf@alter.siamese.dyndns.org> In-Reply-To: Martin Langhoff writes: > On Mon, Jul 30, 2012 at 11:45 AM, Junio C Hamano wrote: >> git show -s ':/^t1100-.*: Fix an interm' > > That doesn't work for me (git 1.7.10.4 as per Fedora 18 rpms) in > git.git. But the idea is sound -- git can give you the sha1 trivially. > You don't need additional glue. The idea was that you do not have to give abbreviated SHA-1 to Git in the first place. What doesn't work? My copy of v1.7.10.1 seems to grok the above just fine.