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

Re: Why aren't tag refs namespaced?

From
Marc Branchaud <marcnarc@xiplink.com>
Date
Apr 26, 2012, 20:06 UTC
Message-ID
<4F99AACC.2050409@xiplink.com>
In-Reply-To
<CA+7g9Jxc6eaCUR8aVhqKH--sOrvQVrZn+se7wtFJsOiKNjz9Pg@mail.gmail.com>
On 12-04-26 02:40 PM, Nathan Gray wrote:
Show 14 quoted lines
> Hey guys,
> 
> Namespacing works really well for branch refs.  I know that
> remotes/origin/master is origin's master branch.  I may or may not
> have a master branch, and it may or may not have anything in common
> with origin's.  Our repositories are independent, after all, so it
> makes sense that our refs would live in different namespaces.
> 
> So why is it that tag refs don't follow this model?  Why is my
> "best-commit-ever" tag assumed to be the same as origin's?  Given a
> ref in refs/tags it's unclear if the ref is public, private, on origin
> or not on origin.  Will pushing my tags create anything new or not?
> Who knows?  Compare this to branches, where the same questions are
> easy to answer thanks to namespacing.
There was lengthy, but inconclusive, discussion about this a year ago:
http://thread.gmane.org/gmane.comp.version-control.git/165799/focus=166290
		M.
Previous: Junio C HamanoNext: Nathan Gray
Message 5 of 7 in “Why aren't tag refs namespaced?”
  1. Nathan GrayApr 26, 2012
  2. Junio C HamanoApr 26, 2012
  3. Nathan GrayApr 26, 2012
  4. Junio C HamanoApr 27, 2012
  5. Marc BranchaudApr 26, 2012
  6. Nathan GrayApr 26, 2012
  7. Nathan GrayApr 26, 2012

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.