Re: feature request: git-log should accept sth like v2.6.26-rc8-227
- From
Jakub Narebski <jnareb@gmail.com>
- Date
- Jul 10, 2008, 23:08 UTC
- Message-ID
- <200807110108.45072.jnareb@gmail.com>
- In-Reply-To
- <7vk5ftnyhp.fsf@gitster.siamese.dyndns.org>
Junio C Hamano wrote:
Show 15 quoted lines
> Johannes Schindelin <Johannes.Schindelin@gmx.de> writes: >> On Thu, 10 Jul 2008, Junio C Hamano wrote: >>> Jakub Narebski <jnareb@gmail.com> 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