Skip to content

Commit 926107d

Browse files
committed
Merge branch 'sg/test-rebase-editor-fix'
Test fix. * sg/test-rebase-editor-fix: t/lib-rebase.sh: support explicit 'pick' commands in 'fake_editor.sh'
2 parents 86ef236 + 7afb0d6 commit 926107d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

t/lib-rebase.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
# specified line.
1515
#
1616
# "<cmd> <lineno>" -- add a line with the specified command
17-
# ("squash", "fixup", "edit", "reword" or "drop") and the SHA1 taken
18-
# from the specified line.
17+
# ("pick", "squash", "fixup", "edit", "reword" or "drop") and the
18+
# SHA1 taken from the specified line.
1919
#
2020
# "exec_cmd_with_args" -- add an "exec cmd with args" line.
2121
#
@@ -47,7 +47,7 @@ set_fake_editor () {
4747
action=pick
4848
for line in $FAKE_LINES; do
4949
case $line in
50-
squash|fixup|edit|reword|drop)
50+
pick|squash|fixup|edit|reword|drop)
5151
action="$line";;
5252
exec*)
5353
echo "$line" | sed 's/_/ /g' >> "$1";;

0 commit comments

Comments
 (0)