Subject: Re: [PATCH v2] Add a "fast stat" mode for Cygwin

From: Alex Riesen <[email-masked]>
Date: Sat, 27 Sep 2008 10:35:07 +0200

Marcus Griep, Sat, Sep 27, 2008 09:02:06 +0200:
> This patch introduces core.cygwinnativestat configuration flag. If this

"cygwin.nativestat"? If only to shame them

> variable is not set then Git will work as before. However, if it is set
> then the Cygwin version of Git will try to use a Win32 API function if
> it is possible to speed up stat/lstat.
> 
> This fast mode works only for relative paths. It is assumed that the
> whole repository is located inside one directory without using Cygwin
> mount to bind external paths inside of the current tree.
> 
> Symbolic links are supported by falling back on the cygwin version of
> these functions.

The cygwins .lnk cannot be supported. The names just don't exist for
native GetFileAttributesExA.