git-describe only works on full tags

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

 



Hi,


For some reason, git-describe only prints a description relative to 
the last tag that was a tag object (and not just a ref).
This is kinda a bug to me, what do others think?

$ git-rev-list --all
0d00ac11e0927e6d50d565a30344a00ce1f6b0e7
c5137b6f2f0c7b6715c9508bdaeb464da93d036a
5afc6395e0051d1bb1d37f17592a5eb7f4ac6f2d
$ git-tag v0.1 5afc6395e0051d1bb1d37f17592a5eb7f4ac6f2d
$ git-describe
fatal: cannot describe '0d00ac11e0927e6d50d565a30344a00ce1f6b0e7'
$ git-tag -m "0.2" v0.2 c5137b6f2f0c7b6715c9508bdaeb464da93d036a
$ git-describe 
v0.2-1-g0d00ac1
$ git-tag v0.3 0d00ac11e0927e6d50d565a30344a00ce1f6b0e7
$ git-describe
v0.2-1-g0d00ac1
$ git-tag -f -m "0.3" v0.3 0d00ac11e0927e6d50d565a30344a00ce1f6b0e7
$ git-describe v0.3

--
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]

  Powered by Linux