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:

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.

        Jan Nijtmans
fossil-users mailing list

Reply via email to