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

Re: [PATCH] Also handle CVS branches with a '/' in their name

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Aug 17, 2005, 07:09 UTC
Message-ID
<Pine.LNX.4.63.0508170906480.10754@wgmdd8.biozentrum.uni-wuerzburg.de>
In-Reply-To
<7vk6il11wi.fsf@assigned-by-dhcp.cox.net>
Hi,
On Wed, 17 Aug 2005, Junio C Hamano wrote:
Show 10 quoted lines
> Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:
> 
> > I track a CVS project which has a branch with a '/' in the branch name.
> > Since git wants the branch name to be a file name at the same time,
> > translate that character to a '-'. This should work well, despite the
> > fact that a division and a difference are completely different :-)
> 
> My feeling is that there should be nothing to prevent you from
> having a non-flat namespace in .git/refs/heads; i.e. we should
> allow ".git/refs/heads/foo/bar".

That may be true, but CVS branches being named "Hänsel/Gretel" do not logically denote hierarchies. I never ever saw hierarchical CVS branch names with a "/" separator. I saw some with a "." separator.

My feeling is that it would be wrong to map CVS branch names to a hierarchy.

Ciao, Dscho

Previous: Junio C HamanoNext: Junio C Hamano
Message 3 of 5 in “Also handle CVS branches with a '/' in their name”
  1. Also handle CVS branches with a '/' in their nameJohannes Schindelin, Aug 17, 2005
  2. Junio C HamanoAug 17, 2005
  3. Johannes SchindelinAug 17, 2005
  4. Junio C HamanoAug 17, 2005
  5. Also handle CVS branches with a '/' in their nameJohannes Schindelin, Aug 17, 2005

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.