Re: Stats in Git
- From
Marius Storm-Olsen <marius@trolltech.com>
- Date
- Sep 2, 2007, 20:09 UTC
- Message-ID
- <46DB187B.9060809@trolltech.com>
- In-Reply-To
- <20070902200218.GA2756@steel.home>
Alex Riesen wrote:
Show 5 quoted lines
> Marius Storm-Olsen, Sun, Sep 02, 2007 16:49:55 +0200: >> 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