rebase -i: recognize short commands without arguments
[gitweb.git] / t / lib-rebase.sh
index 25a77ee5cb04088297b7d9fd93d04d76e1494875..86572438ec7832d96c24012dba7842bceb5a85cf 100644 (file)
@@ -49,7 +49,7 @@ set_fake_editor () {
                case $line in
                squash|fixup|edit|reword|drop)
                        action="$line";;
-               exec*)
+               exec*|break|b)
                        echo "$line" | sed 's/_/ /g' >> "$1";;
                "#")
                        echo '# comment' >> "$1";;