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

Re: [PATCH] Allow cherry-picking root commits

From: Stephan Beyer <hidden>
Date: 2016-06-15 22:44:53

Possibly related (same subject, not in this thread)

On Fri, Jul 04, Johannes Schindelin wrote:
+	if (!commit->parents) {
+		if (action == REVERT)
+			die ("Cannot revert a root commit");
I btw wondered why _reverting_ a root commit should not work.
Then I tried to quickly add this feature and saw what's the point:
merge-recursive wants a remote -- this
+	argv[i++] = next_sha1;
to be set :)
So the change is not as trivial as I thought.
And yes, there may even be no use case for reverting root commits.

Regards,
  Stephan

-- 
Stephan Beyer [off-list ref], PGP 0x6EDDD207FCC5040F
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help