Re: git describe oddity: ignoring recent tags...
- From
Martin Langhoff <martin.langhoff@gmail.com>
- Date
- Nov 23, 2009, 12:38 UTC
- Message-ID
- <46a038f90911230438m2c147b34nbd95cd74777f6be9@mail.gmail.com>
- In-Reply-To
- <20091123123048.GA10172@atjola.homenet>
2009/11/23 Björn Steinbrink <B.Steinbrink@gmx.de>:
> They are lightweight: > $ git cat-file -t olpc-update-2.19 > commit
Hmmm. I thought a tag with a _message_ was not lightweight.
$ git tag -ln ... olpc-update-2.16 Release 2.16 olpc-update-2.17 Release 2.17. olpc-update-2.18 Rlease 2.18. olpc-update-2.19 Release 2.19.
Argh... I see now - git tag is being helpful and showing the first line of the commit msg instead of the tag msg, so I thought they were full tags.
DWIM bites again! ;-(
Show 6 quoted lines
> And using --tags "helps" here: > $ git describe > olpc-update-2.16-20-g2d4e4b8 > > $ git describe --tags > olpc-update-2.19-3-g2d4e4b8
Right. Doesn't make a difference with 1.6.0.6 but it does with 1.6.3.1.26.gf5b223
m
-- martin.langhoff@gmail.com martin@laptop.org -- School Server Architect - ask interesting questions - don't get distracted with shiny stuff - working code first - http://wiki.laptop.org/go/User:Martinlanghoff