On 12/7/06, Alex Riesen <fork0@xxxxxxxxxxx> wrote:
> 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 <81b0412b0612060235l5d5f93d0hd1aaf34924f7783@xxxxxxxxxxxxxx>) 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 $ (that's cygwin). - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html