On 12/7/06, Alex Riesen [off-list ref] wrote:
quoted
Maybe you want "assume unchanged"?
If that is core.ignoreState you mean, than maybe this is what I mean.
I haven't tried it yet (now I wonder myself why I haven't tried it).
But (I'm repeating myself, in
[off-list ref])
I do not really understand how it _can_ help: "I ask because it does
not ignore stat info, as the name implies. Because if it would,
there'd be no point of calling lstat at all, wouldn't it?" That last
question was about refresh_cache_entry - it calls lstat
unconditionally.
Still, I guess I'll have to try it.
Tried. No noticeable difference:
$ git repo-config core.ignorestat true; time gup --refresh
real 0m8.004s
user 0m1.936s
sys 0m5.702s
$ git repo-config core.ignorestat false; time gup --refresh
real 0m7.787s
user 0m1.890s
sys 0m5.703s
$