Re: Unify annotated and non-annotated tags
- From
Thomas Braun <thomas.braun@virtuell-zuhause.de>
- Date
- Nov 23, 2017, 21:24 UTC
- Message-ID
- <f189258d-5709-d236-ff58-5653edc57eb6@virtuell-zuhause.de>
- In-Reply-To
- <003c01d3646c$df78fc50$9e6af4f0$@nexbridge.com>
Am 23.11.2017 um 16:08 schrieb Randall S. Becker:
[...]
Show 5 quoted lines
>> So my proposal is to get rid of non-annotated tags, so to get all >> tags with commits that they point to, one would use: >> git for-each-ref --format='%(*objectname) %(refname)' refs/tags> >> For so-called non-annotated tags just leave the message empty. >> I don't see why anyone would need non-annotated tags though.
I'm using exclusively non-annotated tags. Why? Because that is the default of "git tag" and I also, until now, never needed more than giving a commit a "name".
Many annotated tag messages just repeat the tag name itself, so the message seems quite redundant to me.
Just my 2 cents, Thomas