* git describe --contains --abbrev=0 <sha1> doesn't work as expected
@ 2013-10-25 15:56 Francis Moreau
0 siblings, 0 replies; only message in thread
From: Francis Moreau @ 2013-10-25 15:56 UTC (permalink / raw)
To: git@vger.kernel.org
Hello,
Basically doing: git describe --abbrev=0 <sha1> gives the closest tag
from <sha1>
I would expect adding "--contains" option would give the closest tag
containing <sha1> but it seems that --abbrev=0 has no more effect in
that case:
$ git describe --tags --contains --abbrev=0
7f285fa78d4b81b8458f05e77fb6b46245121b4e
v2.6.35-rc5~14^2~4
Is that expected ?
Thanks
--
Francis
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2013-10-25 15:56 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-25 15:56 git describe --contains --abbrev=0 <sha1> doesn't work as expected Francis Moreau
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).