From: Junio C Hamano Date: Tue, 13 Aug 2013 17:52:55 GMT Subject: Re: git stash takes excessively long when many untracked files present Message-ID: <7vmwolwk94.fsf@alter.siamese.dyndns.org> In-Reply-To: <1fc732a7-6b63-4d75-960f-0b1c6cf9c70e@email.android.com> Anders Darander writes: >>> Do anyone have any better idea on how to approach this? >> >>Teaching "ls-files" to leave early once it seens even a single >>output is probably a possibility. > > Would that mean that we're able to fail early? Heh, good point. "Leave once you find one path" does not help the most common "sane" case where you do not kill any path, so it does not help us at all.