Re: [PATCH] git-rev-list: add --exclude-path-first-parent flag
- From
Felipe Contreras <felipe.contreras@gmail.com>
- Date
- Apr 17, 2021, 04:09 UTC
- Message-ID
- <607a5f701977c_18dc520893@natae.notmuch>
- In-Reply-To
- <CAMKO5Cutas2BM_CTHTJs_O9NSp2Vyn-bK0jV0K758eq5M6-Oag@mail.gmail.com>
Jerry Zhang wrote:
> My motivation is to find the point at which a release branch forked off from > a main branch, even though the release branch could have been merged > into the main branch multiple times since it was forked off.
As far as I'm aware this is precisely the only advantage of Mercurial over Git.
Last time I checked the only way to actually find out the fork point considering multiple corner cases was to directly store it.
Perhaps --exclude-path-first-parent would be a good approximation.
-- Felipe Contreras