Thread (1 message) 1 message, 1 author, 2026-01-22

Re: [PATCH v2] revision: add --maximal-only option

From: Junio C Hamano <hidden>
Date: 2026-01-22 23:11:50

Derrick Stolee [off-list ref] writes:
The merge-base --independent calculation is basically asking for
the maximal set among commits in the intersection of two (or more)
commit histories. One trick the merge-base calculation does is
that it first looks for the --boundary commits, and then reduces
from within that set. This avoid walking further into the history
than necessary.
...
And this would likely return the tips of the two branches, but
also will detect if one already reaches the other or if one of
'main' or 'release' reaches one or both of them, excluding it
from the maximal set.
Thanks for your thoughts.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help