summaryrefslogtreecommitdiff
path: root/t/t3200-branch.sh
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2012-03-04 22:17:52 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2012-03-04 22:17:52 -0800
commit57f75f31311d380a3ccfbfe7f483253591cf0c87 (patch)
tree888f2fde04c7d9b3ed4af4cff48f190d26f9a9fb /t/t3200-branch.sh
parentMerge branch 'jn/maint-gitweb-invalid-regexp' into maint (diff)
parentbranch: don't assume the merge filter ref exists (diff)
downloadtgif-57f75f31311d380a3ccfbfe7f483253591cf0c87.tar.xz
Merge branch 'cn/maint-branch-with-bad' into maint
* cn/maint-branch-with-bad: branch: don't assume the merge filter ref exists Conflicts: t/t3200-branch.sh
Diffstat (limited to 't/t3200-branch.sh')
-rwxr-xr-xt/t3200-branch.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/t/t3200-branch.sh b/t/t3200-branch.sh
index dd1acebd88..9fe1d8feab 100755
--- a/t/t3200-branch.sh
+++ b/t/t3200-branch.sh
@@ -653,4 +653,8 @@ test_expect_success 'refuse --edit-description on unborn branch for now' '
)
'
+test_expect_success '--merged catches invalid object names' '
+ test_must_fail git branch --merged 0000000000000000000000000000000000000000
+'
+
test_done