From: Jeff King Date: Tue, 21 Jun 2011 14:34:37 GMT Subject: Re: git checkout running very slowly (>12s) Message-ID: <20110621143437.GB18700@sigill.intra.peff.net> In-Reply-To: <20110621004452.GA3064@sigill.intra.peff.net> On Mon, Jun 20, 2011 at 08:44:52PM -0400, Jeff King wrote: > > In other words, it appears that an efficient lstat implementation > > was not the key factor in this problem. The root cause remains a > > mystery, but in my case, the solution was to upgrade Git. > > If you can reliably trigger the problem by switching versions and you > are still curious and want to spend a little more time on it, you may > be able to bisect the fix to solve the mystery. I was curious, and your issue was easy to replicate, so I bisected it myself. The fix was: commit e53e6b4433f264250c2e586167caf61721b0185c Author: Brian Downing Date: Thu Jun 10 21:59:07 2010 -0500 unpack-trees: Make index lookahead less pessimal which went into v1.7.1.1. -Peff