git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

Previous: Randall S. BeckerNext: anatoly techtonik
Message 2 of 10 in “RE: Re: Unify annotated and non-annotated tags”
  1. Randall S. BeckerNov 23, 2017
  2. Thomas BraunNov 23, 2017
  3. anatoly techtonikNov 24, 2017
  4. Ævar Arnfjörð BjarmasonNov 24, 2017
  5. anatoly techtonikDec 2, 2017
  6. Philip OakleyDec 2, 2017
  7. anatoly techtonikDec 23, 2017
  8. Philip OakleyDec 24, 2017
  9. Junio C HamanoDec 3, 2017
  10. Randall S. BeckerNov 24, 2017

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.