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

tag namespace?

From
LRLeo Razoumov <slonik.az@gmail.com>
Date
Jan 13, 2010, 23:03 UTC
Message-ID
<ee2a733e1001131503x5a1da0a9g562bbfb5c0f19fd2@mail.gmail.com>
Hi List,
local and remote git branches live in different namespaces
refs/heads/* and refs/remotes/* respectively. thus, fetching from
remote repo never collides with local branches. Unfortunately, tags do
not enjoy such a separation. When I use
       git read-tree -prefix=libfoo/ -u remotes/foo/master
remote tags suddenly populate my local tag space.  v1.0 comes from my
project while v1.1 comes from foo.

When using subtree merges is it possible to create a "remotes" namespace for tags? Something like --tagprefix option for git-read-tree or any better solution?

--Leo--
Message 1 of 1 in “tag namespace?”
  1. Leo RazoumovJan 13, 2010

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.