From: Junio C Hamano Date: Thu, 07 Dec 2006 22:29:54 GMT Subject: Re: cygwin, 44k files: how to commit only index? Message-ID: <7vr6vbqqzh.fsf@assigned-by-dhcp.cox.net> In-Reply-To: <20061207221503.GA4990@steel.home> fork0@t-online.de (Alex Riesen) writes: > But aside from me trying ignoreState, can anyone help me with that > question regarding checking if the index is any different from HEAD? Comparing index and HEAD should be cheap on a system with slow lstat(), I think, as "git-diff-index --cached HEAD" should just ignore the working tree altogether. Is that what you want?