Junio C Hamano <gitster@xxxxxxxxx> writes: > David Turner <dturner@xxxxxxxxxxxxxxxx> writes: > >> The work done to produce the cache-tree is work that the commit would >> otherwise have to do. So we're spending extra time in one place to >> eliminate that work in a different place. > > Good point. Thanks. Hmm, I forgot about another codepath. What about operations that are purely done to pouplate the index, without necessarily creating a tree out of the index? The most worrisome is "git checkout $branch" (two-tree merge). -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html