Alex Riesen wrote:
Marius Storm-Olsen, Sun, Sep 02, 2007 16:49:55 +0200:
quoted
By applying the diff below, you can see for yourself what happens when
just use "strace -e fstat,stat,lstat,stat64,lstat64 -f git-status"
on sane platform.
Right, I was doing this on Windows, where strace is rather.. limited, so
I thought I'd just share the code for all to play with :-)
But, on my linux box:
$ strace -e fstat,stat,lstat,stat64,lstat64 -f git-status 2>&1 | wc -l
300195
(Slightly more stats there, as expected, due to the listings of the
shells stats too, and not just the builtins.)
--
.marius