From: Junio C Hamano Date: Mon, 30 Jun 2014 18:13:22 GMT Subject: Re: [PATCH 1/3] cache-tree: Create/update cache-tree on checkout Message-ID: In-Reply-To: Duy Nguyen writes: > I wonder if we should do this in !opts->force code path only. In the > opts->force code path we could use prime_cache_tree() (like > read-tree), which is supposedly faster... Nobody sane should be constantly running "checkout -f", so even if priming from existing tree objects were faster, it would be adding complexity to the code to optimize for a wrong case.