From: Alex Riesen Date: Sat, 27 Sep 2008 08:35:07 GMT Subject: Re: [PATCH v2] Add a "fast stat" mode for Cygwin Message-ID: <20080927083507.GA5342@blimp.localhost> In-Reply-To: <1222498926-30635-1-git-send-email-marcus@griep.us> 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.