Re: [PATCH] Change git-cvsimport to handle slashes in CVS tags
- From
- H. 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