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

Re: What's cooking in git.git (Nov 2013, #01; Fri, 1)

From
Torstein Hegge <hegge@resisty.net>
Date
Nov 3, 2013, 19:15 UTC
Message-ID
<20131103191533.GC7462@pvv.ntnu.no>
In-Reply-To
<xmqqob6320rt.fsf@gitster.dls.corp.google.com>
On Fri, Nov 01, 2013 at 15:52:06 -0700, Junio C Hamano wrote:
Show 7 quoted lines
> * th/reflog-annotated-tag (2013-10-28) 1 commit
>   (merged to 'next' on 2013-11-01 at 8b154cc)
>  + reflog: handle lightweight and annotated tags equally
> 
>  "git log -g $annotated_tag", when there is no reflog history, should
>  have produced a single output entry (i.e. the ref creation event),
>  but instead showed the history leading to the tag.

This isn't really what th/reflog-annotated-tag does, "git log -g $annotated_tag" now produces no output.

Is the proper behavior to output the ref creation event? In that case, should the same happen for lightweight tags?

Or am I missing something related to "when there is no reflog history"?
Torstein
Previous: Junio C HamanoNext: Junio C Hamano
Message 8 of 9 in “What's cooking in git.git (Nov 2013, #01; Fri, 1)”
  1. Junio C HamanoNov 1, 2013
  2. Thomas RastNov 1, 2013
  3. Junio C HamanoNov 4, 2013
  4. Michael HaggertyNov 13, 2013
  5. Ramsay JonesNov 1, 2013
  6. Junio C HamanoNov 4, 2013
  7. Junio C HamanoNov 11, 2013
  8. Torstein HeggeNov 3, 2013
  9. Junio C HamanoNov 4, 2013

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.