Thread (11 messages) flat view 11 messages, 6 authors, 2016-06-15
DORMANTno replies

[PATCH 2/2] Re: rebase -i: explain how to discard all commits

From: Nicolas Sebrecht <hidden>
Date: 2016-06-15 22:50:26

Possibly related (same subject, not in this thread)

The 20/01/11, Jonathan Nieder wrote:
Okay.  I agree that my particular wording was confusing.  Are you
saying the "noop" command in general is confusing?

The "noop" is itself a non-operation; if you combine "noop" with other
instructions then the noop itself will have no effect.  Meanwhile if
you have _no_ instructions then the rebase is cancelled, while if you
have a single "noop" instruction, that means "I have discarded all the
commits, but please rebase anyway".
Ok, I think I get it now. What about adding

  Use "noop" with no other instruction to fallback to a non-interactive
  rebase. If other instructions are present, "noop" has no effect.

?

-- 
Nicolas Sebrecht
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help