summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Christian Couder <chriscool@tuxfamily.org>2006-09-28 07:02:00 +0200
committerLibravatar Junio C Hamano <junkio@cox.net>2006-09-27 22:26:43 -0700
commitfc12f0829d027a6f7a86b38ae56b1424f2378470 (patch)
treef61d80ced124f75def8894119fd0a39e6ba0edb6
parentWhen creating branch c/d check that branch c does not already exists. (diff)
downloadtgif-fc12f0829d027a6f7a86b38ae56b1424f2378470.tar.xz
Uncomment test case: git branch c/d should barf if branch c exists.
Signed-off-by: Christian Couder <chriscool@tuxfamily.org> Signed-off-by: Junio C Hamano <junkio@cox.net>
-rwxr-xr-xt/t3210-pack-refs.sh12
1 files changed, 6 insertions, 6 deletions
diff --git a/t/t3210-pack-refs.sh b/t/t3210-pack-refs.sh
index 2cc03e6fd5..193fe1fb40 100755
--- a/t/t3210-pack-refs.sh
+++ b/t/t3210-pack-refs.sh
@@ -37,12 +37,12 @@ test_expect_success \
git-show-ref b >result &&
diff expect result'
-# test_expect_failure \
-# 'git branch c/d should barf if branch c exists' \
-# 'git-branch c &&
-# git-pack-refs &&
-# rm .git/refs/heads/c &&
-# git-branch c/d'
+test_expect_failure \
+ 'git branch c/d should barf if branch c exists' \
+ 'git-branch c &&
+ git-pack-refs &&
+ rm .git/refs/heads/c &&
+ git-branch c/d'
test_expect_success \
'see if a branch still exists after git pack-refs --prune' \