git describe --contains --abbrev=0 <sha1> doesn't work as expected

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]