summaryrefslogtreecommitdiff
path: root/t/t5407-post-rewrite-hook.sh
diff options
context:
space:
mode:
authorElijah Newren <newren@gmail.com>2018-06-07 05:05:50 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-06-28 20:28:19 (GMT)
commite951e8f6a9fa1940d1e89bad07480f9224ebbdf3 (patch)
tree6841ed3e2bfd281a1e872679e0173c33b4a2711e /t/t5407-post-rewrite-hook.sh
parente3331758f12da22f4103eec7efe1b5304a9be5e9 (diff)
downloadgit-e951e8f6a9fa1940d1e89bad07480f9224ebbdf3.zip
git-e951e8f6a9fa1940d1e89bad07480f9224ebbdf3.tar.gz
git-e951e8f6a9fa1940d1e89bad07480f9224ebbdf3.tar.bz2
t5407: fix test to cover intended arguments
Test 8 in t5407 appears to be an accidental exact duplicate of of test 5; the testcode is identical and has identical repo state, but the test description is different and suggests that rebase -m followed by rebase --skip was what was actually supposed to be tested. Modify the test to include the -m option. Signed-off-by: Elijah Newren <newren@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5407-post-rewrite-hook.sh')
-rwxr-xr-xt/t5407-post-rewrite-hook.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t5407-post-rewrite-hook.sh b/t/t5407-post-rewrite-hook.sh
index 7a48236..9b2a274 100755
--- a/t/t5407-post-rewrite-hook.sh
+++ b/t/t5407-post-rewrite-hook.sh
@@ -113,7 +113,7 @@ test_expect_success 'git rebase -m' '
test_expect_success 'git rebase -m --skip' '
git reset --hard D &&
clear_hook_input &&
- test_must_fail git rebase --onto A B &&
+ test_must_fail git rebase -m --onto A B &&
test_must_fail git rebase --skip &&
echo D > foo &&
git add foo &&