Le 20/02/2014 16:23, Jan Nijtmans a écrit :
> 2014-02-20 15:17 GMT+01:00 Samuel Debionne <samuel.debio...@ujf-grenoble.fr>:
>> While debugging vfile.c I noticed that vfile_scan does not use
>> "dirent.d_type" to dispatch between folder and regular file/link but
>> uses an addition getStat call. I came across this thread that claims a
>> high speedup for command like "git status" with this kind of optimization :
>> https://groups.google.com/forum/#!searchin/msysgit/d_type/msysgit/PGCFol99xUo/vjEPrajM_QsJ
>> Has this been ever considered ? Worth a try ?
> Something like:
>      <http://fossil-scm.org/index.html/info/0c7834c77b>
> ?????
> It looks like _DIRENT_HAVE_D_TYPE is set for MSC
> (win/include/dirent.h) and on WinGW-w64, but not bare
> MinGW. I have no idea whether's it's worth or not.

The mingwrt-4.0 release notes say:

"Redefine the structure for dirent and _wdirent to include d_type and be
  copesetic to Microsoft attributes."


Unfortunaley I think there is a bug that I have just reported here :


Fortunately the workaround is quite easy.
fossil-users mailing list

Reply via email to