Skip to content

rebase -i: in-editor documentation nits

Jonathan Nieder git 1 version In review

Get series with b4
b4 am 20110116015941.GA28137@burratino

Versions newest first

  1. v1 Latest2 patches 15 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2rebase -i: reword in-editor documentation of "exec"git-rebase--interactive.sh+1 -18 replies
2/2rebase -i: explain how to discard all commitsgit-rebase--interactive.sh+1 -017 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] rebase -i: in-editor documentation nits

Review first and then run 'git rebase --continue' again." · line 994

Quoted 9 lines · Matthieu Moy

+++ b/git-rebase--interactive.sh

(quoted diff) +1 -0
@@ -957,6 +988,7 @@ first and then run 'git rebase --continue' again."
 #  e, edit = use commit, but stop for amending
 #  s, squash = use commit, but meld into previous commit
 #  f, fixup = like "squash", but discard this commit's log message
+#  x <cmd>, exec <cmd> = Run a shell command <cmd>, and stop if it fails
 #
 # If you remove a line here THAT COMMIT WILL BE LOST.
 # However, if you remove everything, the rebase will be aborted.

Nit: the "exec" command is formatted differently from the commands around it, making it stand out (which I don't think is intended).

While we're there, patch 2 adds some brief documentation for the "noop" command.

Roughly based on [1] (which might be a nice patch to revive, by the way). Sane?

Jonathan Nieder (2):
rebase -i: reword in-editor documentation of "exec" rebase -i: explain how to discard all commits

 git-rebase--interactive.sh |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

[1] http://thread.gmane.org/gmane.comp.version-control.git/161120/focus=162079