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

Re: [rfd] auto-following tags upon "git push"?

From
Junio C Hamano <gitster@pobox.com>
Date
Jun 7, 2011, 18:45 UTC
Message-ID
<7vpqmp5vl3.fsf@alter.siamese.dyndns.org>
In-Reply-To
<20110607173051.GA22216@sigill.intra.peff.net>
Jeff King <peff@peff.net> writes:
Show 9 quoted lines
> Hmm. Is it a clear enough hint when the user uses an actual tag object
> to make a signed or annotated tag? At least for me, private throw-away
> tags tend to just be refs/tags/foo pointing to a commit, and real,
> for-public-consumption tags at least get an annotation, if not a
> signature.
>
> I seem to recall we make a similar distinction somewhere else in the
> code, but I can't remember offhand where. Maybe it was just a proposal
> that never made it anywhere.

You are thinking about "describe", I think, and the analogy holds true. The tag annotation vs lightweight tag is a good hint I forgot to take into account.

Show 5 quoted lines
> Anyway, the problem would be somebody who does something like:
>
>   $ git tag -m "here is a description of how this wip is going" foo-wip
>
> which violates the assumption above.
True, I think I did that sometimes.

I personally do not use "private tags" that much anymore; I make liberal use of private branches for that kind of work instead, as it is more flexible (I can check it out, build on it, rebase -i, and generally whip it around in any other way).

Previous: Jeff KingNext: Steffen Daode Nurpmeso
Message 4 of 5 in “[rfd] auto-following tags upon "git push"?”
  1. Junio C HamanoJun 7, 2011
  2. Shawn PearceJun 7, 2011
  3. Jeff KingJun 7, 2011
  4. Junio C HamanoJun 7, 2011
  5. Steffen Daode NurpmesoJun 7, 2011

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.