Thread (20 messages) flat view 20 messages, 6 authors, 2016-12-22

Re: [PATCH 4/2] t5615-alternate-env: double-quotes in file names do not work on Windows

From: Johannes Schindelin <hidden>
Date: 2016-12-22 21:39:07

Hi Hannes,

On Thu, 22 Dec 2016, Johannes Sixt wrote:
Am 22.12.2016 um 07:13 schrieb Johannes Sixt:
quoted
Am 21.12.2016 um 23:42 schrieb Jeff King:
quoted
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help