Re: cygwin, 44k files: how to commit only index?

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Junio C Hamano <junkio@...>
Cc: <git@...>
Date: Thursday, December 7, 2006 - 6:15 pm

Junio C Hamano, Thu, Dec 07, 2006 20:16:39 +0100:

incredibly slow. That and the matter of having 44000 files to process
with that slow stat().


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.

But aside from me trying ignoreState, can anyone help me with that
question regarding checking if the index is any different from HEAD?
Because even on a very brocken filesystem and 40k files in a repo you
sometimes do want to call git-update-index --refresh just to be sure
you haven't missed anything. And than it'll quickly become annoying
flicking ignoreState back and forth.

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
cygwin, 44k files: how to commit only index?, Alex Riesen, (Thu Dec 7, 10:27 am)
Re: cygwin, 44k files: how to commit only index?, Junio C Hamano, (Thu Dec 7, 3:16 pm)
Re: cygwin, 44k files: how to commit only index?, Alex Riesen, (Thu Dec 7, 6:15 pm)
Re: cygwin, 44k files: how to commit only index?, Alex Riesen, (Fri Dec 8, 10:16 am)
Re: cygwin, 44k files: how to commit only index?, Junio C Hamano, (Thu Dec 7, 6:29 pm)
Re: cygwin, 44k files: how to commit only index?, Alex Riesen, (Fri Dec 8, 1:27 am)
Re: cygwin, 44k files: how to commit only index?, Shawn Pearce, (Thu Dec 7, 3:26 pm)
Re: cygwin, 44k files: how to commit only index?, Junio C Hamano, (Thu Dec 7, 3:57 pm)
Re: cygwin, 44k files: how to commit only index?, Shawn Pearce, (Thu Dec 7, 4:29 pm)
Re: cygwin, 44k files: how to commit only index?, Junio C Hamano, (Thu Dec 7, 5:53 pm)
Re: cygwin, 44k files: how to commit only index?, Shawn Pearce, (Thu Dec 7, 3:35 pm)
Re: cygwin, 44k files: how to commit only index?, Christian MICHON, (Thu Dec 7, 5:26 pm)
Re: cygwin, 44k files: how to commit only index?, Torgil Svensson, (Sat Dec 9, 4:27 am)