Re: [PATCH 2/2] line-log: avoid unnecessary full tree diffs
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Aug 22, 2019, 16:01 UTC
- Message-ID
- <xmqq7e75qjdj.fsf@gitster-ct.c.googlers.com>
- In-Reply-To
- <20190822084158.GC20404@szeder.dev>
SZEDER Gábor <szeder.dev@gmail.com> writes:
Show 10 quoted lines
> Well, that fruit hung much lower than I though, just look at the size > of the WIP patch below. I just hope that there are no unexpected > surprises, but FWIW it produces the exact same output for all files up > to 't/t5515' in v2.23.0 as the previous patch. > > Can't wait to see how it fares with that evil Windows path :) > > --- >8 --- > > Subject: [PATCH 3/2] WIP line-log: stop diff-ing after first TREESAME merge parent
A quick question. That we need "stop diffing after first treesame" patch in the first place means we have always been attempting to follow all the parents of a merge? I'd expect that to happen when "--full-history" was given to "git log -L..." invocation. When we are simplifying side branches without "--full-history", I agree that we should see if any parent is treesame with respect to the paths we are interested in, and if so ignore all other parents.
Or am I misunderstanding the issue here?