From: Jakub Narebski Date: Thu, 10 Jul 2008 19:42:53 GMT Subject: Re: feature request: git-log should accept sth like v2.6.26-rc8-227 Message-ID: In-Reply-To: <7vk5ftpnek.fsf@gitster.siamese.dyndns.org> Junio C Hamano writes: > Toralf Förster writes: > > > git-describe gives an informative string about the current status: > > tfoerste@n22 ~/devel/linux-2.6 $ git describe > > v2.6.26-rc9-56-g6329d30 > > > > I appended those strings to the names of my UML kernel executables. > > Unfortunately I didn't used the commit id and now I'm wondering whether git > > could accept v2.6.26-rc9-56 as well in future. > > It does take v2.6.26-rc9-56-g6329d30. > > It will never take v2.6.26-rc9-56. The world is not linear. Nevertheless it _could_ be unique. 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. -- Jakub Narebski Poland ShadeHawk on #git