Re: Re: [WIP PATCH 0/3] implement merge strategy for submodule links
- From
Heiko Voigt <hvoigt@hvoigt.net>
- Date
- Jun 19, 2010, 10:17 UTC
- Message-ID
- <20100619101736.GA3539@book.hvoigt.net>
- In-Reply-To
- <201006181140.16652.johan@herland.net>
Hi,
On Fri, Jun 18, 2010 at 11:40:16AM +0200, Johan Herland wrote:
Show 12 quoted lines
> [1]: To put the search in general terms: Find all merge commits that has > _both_ (or in the case of octopus; _all_) of the candidate commits (but none > of the other merges) somewhere in its ancestry. You could implement this by > first intersecting the sets returned from these commands (run in the > submodule): > > git rev-list --merges --ancestry-path --all ^B > git rev-list --merges --ancestry-path --all ^F > > to get the set of merges descending from both 'B' and 'F', and then prune > each member in the remaining set that has another set member in its > ancestry.
Is the --ancestry-path option already implemented? Because on my git 1.7.1 it does not seem to. What does it do?
cheers Heiko