Re: [PATCH] don't mention index refreshing side effect in git-status docs
- From
Jeff King <peff@peff.net>
- Date
- Dec 9, 2007, 08:42 UTC
- Message-ID
- <20071209084217.GA2377@coredump.intra.peff.net>
- In-Reply-To
- <7vhciss1ww.fsf@gitster.siamese.dyndns.org>
On Sun, Dec 09, 2007 at 12:33:19AM -0800, Junio C Hamano wrote:
Show 8 quoted lines
> Jeff King <peff@peff.net> writes: > > > If there is some desire to document the side effect, I think we should > > at least remove the mention of speeding up git-diff (which is just wrong > > now). > > Why is it "just wrong"? Having to squelch the false hits and to run > auto-refresh are both unnecessary overhead if your index is fresh.
I mean that this is not a useful technique for speeding up git-diff anymore (assuming you have not tinkered with autorefreshindex, in which case I assume you know what you are doing and don't need this tip).
Did you think I meant "there is no speedup with autorefreshindex off", or are you arguing that even with the new diff behavior there is still a speedup in "git status; git diff" over just "git status"?
-Peff