diff options
Diffstat (limited to 't/t3419-rebase-patch-id.sh')
-rwxr-xr-x | t/t3419-rebase-patch-id.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/t/t3419-rebase-patch-id.sh b/t/t3419-rebase-patch-id.sh index 3dc754b..1f32faa 100755 --- a/t/t3419-rebase-patch-id.sh +++ b/t/t3419-rebase-patch-id.sh @@ -54,7 +54,8 @@ test_expect_success 'detect upstream patch' ' git commit -q -m "change big file again" && git checkout -q other^{} && git rebase master && - test_must_fail test -n "$(git rev-list master...HEAD~)" + git rev-list master...HEAD~ >revs && + test_must_be_empty revs ' test_expect_success 'do not drop patch' ' |