Re: [PATCH] rev-list: fix --reverse interaction with --parents
- From
Johannes Sixt <johannes.sixt@telecom.at>
- Date
- Aug 29, 2008, 19:53 UTC
- Message-ID
- <200808292153.59376.johannes.sixt@telecom.at>
- In-Reply-To
- <1220037518-11219-1-git-send-email-trast@student.ethz.ch>
On Freitag, 29. August 2008, Thomas Rast wrote:
Show 10 quoted lines
> Johannes Sixt wrote: > > This command does not give the expected result: It reports *two* initial > > commits and one merge; in particular, commit X is reported as initial > > commit. > > > > $ git rev-list --parents --reverse --full-history master -- P2 > > The good news is: the patch really does fix your issue. It also fixes > the test case (which uses the history from the diagram above). And it > passes the test suite.
Thanks for picking up the topic and helping out. It does indeed work with my example.
I let others comment whether this patch is good. I've no clue how the revision walker machinery works.
-- Hannes