Re: [PATCH 4/2] t5615-alternate-env: double-quotes in file names do not work on Windows
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Dec 22, 2016, 21:38 UTC
- Message-ID
- <alpine.DEB.2.20.1612222237530.155951@virtualbox>
- In-Reply-To
- <54ba9cff-b6f7-7660-261f-393cd5181da6@kdbg.org>
Hi Hannes,
On Thu, 22 Dec 2016, Johannes Sixt wrote:
Show 16 quoted lines
> Am 22.12.2016 um 07:13 schrieb Johannes Sixt: > > Am 21.12.2016 um 23:42 schrieb Jeff King: > > > Hmph. I explicitly avoided a colon in the filename so that it would > > > run on MINGW. Is a double-quote also not allowed? > > > > It is not allowed; that was my conclusion. But now that you ask, I'll > > double-check. > > Ok, the point is that I get this error: > > mv: cannot move `one.git' to `"one.git' > > I don't feel inclined to find out which of 'mv' or the Windows API or > the NTFS driver prevents the double-quotes and come up with a > work-around just to get the test to run in some form. Let's leave it at > the !MINGW prerequisite.
Double-quotes are not allowed in file names in Windows. NTFS would allow them just fine.
Ciao, Dscho