Re: git checkout running very slowly (>12s)
- From
Jeff King <peff@peff.net>
- Date
- Jun 21, 2011, 00:44 UTC
- Message-ID
- <20110621004452.GA3064@sigill.intra.peff.net>
- In-Reply-To
- <loom.20110620T221426-685@post.gmane.org>
On Mon, Jun 20, 2011 at 08:26:37PM +0000, Andrew Cameron 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.
Keep in mind that you are bisecting a fix, not a regression, so your meanings of "good" and "bad" will be opposite of what you expect. I.e., "bad" commits will have the fix, and "good" commits will not (I know this is confusing; it's an artifact of the way bisect works).
-Peff