From: Alex Riesen Date: Fri, 08 Dec 2006 14:16:41 GMT Subject: Re: cygwin, 44k files: how to commit only index? Message-ID: <81b0412b0612080616t3d43f739gc201879fddcc20a3@mail.gmail.com> In-Reply-To: <20061207221503.GA4990@steel.home> On 12/7/06, Alex Riesen 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@mail.gmail.com>) > 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 $