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

Re: [PATCH] Allow fetching references from any namespace

From
Junio C Hamano <junkio@cox.net>
Date
May 11, 2007, 20:54 UTC
Message-ID
<7vlkfv9j3c.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<20070511203522.GA2741@steel.home>
Alex Riesen <raa.lkml@gmail.com> writes:
Show 10 quoted lines
> not only from the three defined: heads, tags and remotes.
>
> Noticed when I tried to fetch the references created by git-p4-import.bat:
> they are placed into separate namespace (refs/p4import/, to avoid showing
> them in git-branch output). As canon_refs_list_for_fetch always prepended
> refs/heads/ it was impossible, and annoying: it worked before. Normally,
> the p4import references are useless anywhere but in the directory managed
> by perforce, but in this special case the cloned directory was supposed
> to be a backup, including the p4import branch: it keeps information about
> where the imported perforce state came from.

Have no objection to the patch itself, but mind pointing out where we broke it (I suspect it is around 1.5.0)?

Previous: Alex RiesenNext: Alex Riesen
Message 2 of 6 in “Allow fetching references from any namespace”
  1. Allow fetching references from any namespaceAlex Riesen, May 11, 2007
  2. Junio C HamanoMay 11, 2007
  3. Alex RiesenMay 12, 2007
  4. Junio C HamanoMay 12, 2007
  5. Marco CostalbaMay 13, 2007
  6. Jan HudecMay 13, 2007

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.