Re: [PATCH] rev-list: fix --reverse interaction with --parents
- Date: Fri, 29 Aug 2008 21:53:59 +0200
- From: Johannes Sixt <johannes.sixt@xxxxxxxxxx>
- Subject: Re: [PATCH] rev-list: fix --reverse interaction with --parents
On Freitag, 29. August 2008, Thomas Rast wrote:
> 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
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html