From: Junio C Hamano Date: Thu, 07 Dec 2006 19:57:40 GMT Subject: Re: cygwin, 44k files: how to commit only index? Message-ID: <7vhcw7scln.fsf@assigned-by-dhcp.cox.net> In-Reply-To: <20061207192632.GC12143@spearce.org> Shawn Pearce writes: >> I am not sure what you are trying. Do you mean stat() is slow >> on your filesystem? > > Its Cygwin/NTFS. lstat() is slow. readdir() is slow. I have the > same problem on my Cygwin systems. > >> > Is there any simple way to modify git commit for such a workflow? >> > Failing that, any simple and _fast_ way to find out if the index >> > is any different from HEAD? (so that I don't produce empty commits). >> >> Maybe you want "assume unchanged"? > > Yes, basically. Then maybe "git grep assume.unchanged" would help?