From: Jakub Narebski Date: Thu, 10 Jul 2008 23:08:43 GMT Subject: Re: feature request: git-log should accept sth like v2.6.26-rc8-227 Message-ID: <200807110108.45072.jnareb@gmail.com> In-Reply-To: <7vk5ftnyhp.fsf@gitster.siamese.dyndns.org> Junio C Hamano wrote: > Johannes Schindelin writes: >> On Thu, 10 Jul 2008, Junio C Hamano wrote: >>> Jakub Narebski writes: >>> >>>> Besides, it would be nice to have some command (git-rev-parse >>>> perhaps?) which could take ambiguous commit-ish, and list all commit >>>> which matches it. >>> >>> Have fun writing it and send in a patch. >> >> Note that this really could be a patch, but not for rev-parse. Patch >> revision.c instead to parse the argument into _all_ matching revisions. > > As Linus pointed out, that is "all _locally_ matching revisions". It is > of dubious value in a distributed environment. It can be useful for example in situation where shortened sha-1 of a commit (for example to 6 characters) stops being ambiguous... -- Jakub Narebski Poland