Skip to content

Commit 7c4e80e

Browse files
stefanbellergitster
authored andcommitted
git-rebase--interactive: clarify arguments
Up to now each command took a commit as its first argument and ignored the rest of the line (usually the subject of the commit) Now that we are about to introduce commands that take different arguments, clarify each command by giving the argument list. Signed-off-by: Stefan Beller <[email protected]> Signed-off-by: Johannes Schindelin <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent de828e7 commit 7c4e80e

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

git-rebase--interactive.sh

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -155,13 +155,13 @@ reschedule_last_action () {
155155
append_todo_help () {
156156
gettext "
157157
Commands:
158-
p, pick = use commit
159-
r, reword = use commit, but edit the commit message
160-
e, edit = use commit, but stop for amending
161-
s, squash = use commit, but meld into previous commit
162-
f, fixup = like \"squash\", but discard this commit's log message
163-
x, exec = run command (the rest of the line) using shell
164-
d, drop = remove commit
158+
p, pick <commit> = use commit
159+
r, reword <commit> = use commit, but edit the commit message
160+
e, edit <commit> = use commit, but stop for amending
161+
s, squash <commit> = use commit, but meld into previous commit
162+
f, fixup <commit> = like \"squash\", but discard this commit's log message
163+
x, exec <commit> = run command (the rest of the line) using shell
164+
d, drop <commit> = remove commit
165165
166166
These lines can be re-ordered; they are executed from top to bottom.
167167
" | git stripspace --comment-lines >>"$todo"

0 commit comments

Comments
 (0)