Re: Why is --graph --max-count=n so much slower than --graph HEAD~n..?
- From
Junio C Hamano <gitster@pobox.com>
- Date
- May 20, 2014, 22:50 UTC
- Message-ID
- <xmqq61l0rrng.fsf@gitster.dls.corp.google.com>
- In-Reply-To
- <vnkwd2f8ayea.fsf@mitchelh-linux.qualcomm.com>
Mitchel Humpherys <mitch.special@gmail.com> writes:
> I've noticed that --max-count doesn't seem to speed up `git log --graph' > computation time.
AFAIK, --graph wants to compute the whole history and the max-count only affects the output phase after --graph does its computation.
Besides, "log --max-count=n" and "log HEAD~n.." compute completely different things, so the comparison is apples and oranges.