Hi, Magnus, it is the official policy to reply-to-all on this list. This has been mentioned in the past quite often, and it will be mentioned in the future, too. You actually forced me to manually look up and re-add Hannes' address. I do not appreciate having to waste my time like that. If that sounds negative, please understand that I am used to the ways of this list, and when I am annoyed by somebody not fitting in, then it is not totally _my_ mistake. On Thu, 26 Mar 2009, Magnus Bäck wrote: > On Thursday, March 26, 2009 at 08:15 CET, > Johannes Sixt <j.sixt@xxxxxxxxxxxxx> wrote: > > > Magnus Bäck schrieb: > > > > > From what I gather the problematic conversion takes place in the > > > Win32 layer, in which case we might be able to call the > > > ZwQueryDirectoryFile() kernel routine directly via ntdll.dll to > > > obtain the file times straight from the file system. Has anyone > > > explored that path, and would it be acceptable to make such a > > > change? > > > > It depends. > > > > The disadvantages are that this function is only available on Windows > > XP and later and that it is not present in the header files of MinGW > > gcc. > > I'd be very surprised if ZwQueryDirectoryFile() hasn't always been > around (I just verified ntdll.dll from NT 4.0), so that's not a worry. > Don't know why MSDN reports it as introduced in XP. As the current maintainer of msysGit, I refuse to have something in the installer I ship that relies on not-at-all guaranteed interfaces. > > It's on you to prove that there are advantages that clearly outweigh > > these disadvantages. > > All right, I'll see if I can find time to take a look at this. I just > wanted to check that it wasn't a project policy or whatever to bypass > Win32. You can do whatever you want... This is Open Source. However, I will try to stay with the officially supported functionality, even if that makes msysGit slower -- Windows will never reach the performance levels of Linux anyway. Ciao, Dscho