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

Re: [PATCH] Change git-cvsimport to handle slashes in CVS tags

From
HAH. Peter Anvin <hpa@zytor.com>
Date
Oct 28, 2005, 20:47 UTC
Message-ID
<43628E6A.7000104@zytor.com>
In-Reply-To
<Pine.LNX.4.64.0510281151450.4664@g5.osdl.org>
Linus Torvalds wrote:
Show 5 quoted lines
> 
> Is "_" the right thing to replace it with, though? To me, "_" replaces 
> either a space or a dash, while a slash could be replaced by something 
> more like a special character.
> 

If nothing else it creates a nice symmetry, since CVS can't use '.' in tags (which only is the most common character in nearly all versioning schemes), and which is commonly replaced by '_'. We already have the -m option to change that back to dots, so we'd go:

'/' -> '_' -> '.'
... which at least means no info loss.
	-hpa
Previous: Junio C Hamano
Message 5 of 5 in “Change git-cvsimport to handle slashes in CVS tags”
  1. Change git-cvsimport to handle slashes in CVS tagsWayne Scott, Oct 28, 2005
  2. Johannes SchindelinOct 28, 2005
  3. Linus TorvaldsOct 28, 2005
  4. Junio C HamanoOct 28, 2005
  5. H. Peter AnvinOct 28, 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.