Re: [PATCH] Allow '+', '-' and '.' in remote helper names
- From
Johannes Sixt <j.sixt@viscovery.net>
- Date
- Feb 23, 2010, 13:19 UTC
- Message-ID
- <4B83D5CC.9030206@viscovery.net>
- In-Reply-To
- <alpine.DEB.1.00.1002231402350.3980@intel-tinevez-2-302>
Johannes Schindelin schrieb:
> May I caution against allowing "+" as part of filenames? On Windows, > thanks to the DOS garb^Wheritage, "+" is not really allowed...
I don't think that's true (and I also think it never was).
You may be refering to the copy command, where you can say
copy a.txt+b.txt+c.txt abc.txt
to concatenate the source files. But this does not restrict how you can name your files. If you have a file a+b.txt and want to use it with copy, then you must use double-quotes:
copy "a+b.txt" elsewhere.txt copy "a+b.txt"+c.txt abc.txt
-- Hannes