Re: [PATCH 0/5] "best effort" checkout
- From
Mark Levedahl <mlevedahl@gmail.com>
- Date
- May 30, 2008, 01:09 UTC
- Message-ID
- <483F53D8.1020201@gmail.com>
- In-Reply-To
- <7vabi8ocju.fsf@gitster.siamese.dyndns.org>
Junio C Hamano wrote:
> I hope you did not use 6/5. My understanding is that your platform > natively supports it without that compatibility layer ;-) >
That is a very polite way to express things, and no I did not apply that patch.
Show 5 quoted lines
>
> I expected to see "deleted" here. I guess lstat("anything/nul") says "it
> exists" everywhere, and that probably is why you are getting EEXIST.
>
> Indeed:
git>ls nul nul git>ls nul* ls: cannot access nul*: No such file or directory
So, any test for existence of <path>NUL will pass, but NUL never appears in a directory listing. The same is true of the other special filenames under Windows (aux, ...).
Mark