aboutsummaryrefslogtreecommitdiffstats
path: root/t/lib-rebase.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2018-11-02 11:04:59 +0900
committerJunio C Hamano <gitster@pobox.com>2018-11-02 11:04:59 +0900
commit85fcf1cbb6eb2e8fb1512a5ffe834b6a07deb4cd (patch)
treef88809b7b7bf00832305a28ac1a76044e26f1ba1 /t/lib-rebase.sh
parentMerge branch 'js/rebase-i-break' (diff)
parentrebase -i: recognize short commands without arguments (diff)
downloadgit-85fcf1cbb6eb2e8fb1512a5ffe834b6a07deb4cd.tar.gz
git-85fcf1cbb6eb2e8fb1512a5ffe834b6a07deb4cd.zip
Merge branch 'js/rebase-i-shortopt'
"git rebase -i" learned to take 'b' as the short form of 'break' option in the todo list. * js/rebase-i-shortopt: rebase -i: recognize short commands without arguments
Diffstat (limited to 't/lib-rebase.sh')
-rw-r--r--t/lib-rebase.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/lib-rebase.sh b/t/lib-rebase.sh
index 241f64b09b..f6c45ee08f 100644
--- a/t/lib-rebase.sh
+++ b/t/lib-rebase.sh
@@ -49,7 +49,7 @@ set_fake_editor () {
case $line in
pick|squash|fixup|edit|reword|drop)
action="$line";;
- exec*|break)
+ exec*|break|b)
echo "$line" | sed 's/_/ /g' >> "$1";;
"#")
echo '# comment' >> "$1";;