From: Junio C Hamano Date: Wed, 30 Nov 2011 18:27:26 GMT Subject: Re: log: option "--follow" not the default for a single file? Message-ID: <7vipm1qxdd.fsf@alter.siamese.dyndns.org> In-Reply-To: <20111130063743.GB5317@sigill.intra.peff.net> Jeff King writes: > 2. It can be slower than a regular traversal, since we have to do > rename detection whenever we see a deletion. In practice I don't > think it is much slower, though (mainly because files don't get > moved all that much). There is no difference between a regular traversal and a follow traversal while the path is still there. When a path disappear during a regular traversal, most likely the remaining traversal will yield nothing but the user has already seen what is there to see. If a follow traversal was in use, the user has seen the same as the regular traversal up to that point, we spend a bit of time in rename detection, and then we start showing the result of the traversal using an updated pathspec. I doubt that "slowness" is an issue here.