]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/t3200-branch.sh
branch: don't assume the merge filter ref exists
[thirdparty/git.git] / t / t3200-branch.sh
index 76903323af37ed1a96b5a11c27eb1e9d63a0e9ef..6ad1763fda28cb86daf7e6baa901814d1a343517 100755 (executable)
@@ -620,4 +620,8 @@ test_expect_success 'use set-upstream on the current branch' '
 
 '
 
+test_expect_success '--merged catches invalid object names' '
+       test_must_fail git branch --merged 0000000000000000000000000000000000000000
+'
+
 test_done