X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=t%2Ft5407-post-rewrite-hook.sh;h=552da65a61e8f78d40f8e19cfc5b73696ebcf283;hb=48c250a121a425a1860226b6a7061aecfbab5246;hp=f0f91f149d760f6b6458d10639725259973d7115;hpb=5e4f61474202122f376b16181b760f390623bf4e;p=git.git diff --git a/t/t5407-post-rewrite-hook.sh b/t/t5407-post-rewrite-hook.sh index f0f91f149..552da65a6 100755 --- a/t/t5407-post-rewrite-hook.sh +++ b/t/t5407-post-rewrite-hook.sh @@ -180,4 +180,20 @@ EOF verify_hook_input ' +test_expect_success 'git rebase -i (double edit)' ' + git reset --hard D && + clear_hook_input && + FAKE_LINES="edit 1 edit 2" git rebase -i B && + git rebase --continue && + echo something > foo && + git add foo && + git rebase --continue && + echo rebase >expected.args && + cat >expected.data <