Thread (3 messages) flat view 3 messages, 3 authors, 2016-06-15

Re: [PATCH] rev-list: fix --reverse interaction with --parents

From: Johannes Sixt <hidden>
Date: 2016-06-15 22:45:15

On Freitag, 29. August 2008, Thomas Rast wrote:
Johannes Sixt wrote:
quoted
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help