Re: Crash when clone includes magic filenames on Windows
- Date: Sat, 10 Feb 2018 10:29:40 -0000
- From: "Philip Oakley" <philipoakley@xxxxxxx>
- Subject: Re: Crash when clone includes magic filenames on Windows
From: "Jeffrey Walton" <noloader@xxxxxxxxx>
This comes up on the Git-for-Windows (GfW) issues fairly often
I'm seeing this issue on Windows: https://pastebin.com/YfB25E4T . It
seems the filename AUX is the culprit. Also see
(Thanks to Milleneumbug on Stack Overflow).
I did not name the file, someone else did. I doubt the filename will be
Searching is not turning up much information:
Does anyone know how to sidestep the issue on Windows?
The fetch part of the clone is sucessful, but the final checkout step fails
when the AUX (or any other prohibited filename - that's proper cabkward
compatibility for you) is to be checked out then the file system (FS)
refuses and the checkout 'fails. You do however have the full repo locally.
The trick is probably then to set up a sparse checkout so the AUX is never
included on the FS.
However it is an open 'up-for-grabs' project to add such a check in GfW.