Merge branch 'sg/test-rebase-editor-fix'

* sg/test-rebase-editor-fix:
  t3404-rebase-interactive: test abbreviated commands
This commit is contained in:
Junio C Hamano
2018-11-06 15:50:22 +09:00
2 changed files with 7 additions and 7 deletions

View File

@ -47,9 +47,9 @@ set_fake_editor () {
action=pick
for line in $FAKE_LINES; do
case $line in
pick|squash|fixup|edit|reword|drop)
pick|p|squash|s|fixup|f|edit|e|reword|r|drop|d)
action="$line";;
exec*|break|b)
exec_*|x_*|break|b)
echo "$line" | sed 's/_/ /g' >> "$1";;
"#")
echo '# comment' >> "$1";;