Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-09-28 09:17:01 +0400
committerJunio C Hamano <junkio@cox.net>2006-09-28 09:17:01 +0400
commit51b2dd4e3f730f6be6c19faf3b4a04caea9e0420 (patch)
tree5c9bdf73416b72cb5e029d3c8467f669a69ccbd5 /t
parent2b83ade9778552526abbe34ae03a57da52a7433d (diff)
parent9c7b0b3fc46e552bde1a65cd1950c3634854332b (diff)
Merge branch 'cc/branch-test'
* cc/branch-test: Remove empty ref directories that prevent creating a ref.
Diffstat (limited to 't')
-rwxr-xr-xt/t3200-branch.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/t/t3200-branch.sh b/t/t3200-branch.sh
index 5b04efc89d..6907cbcd29 100755
--- a/t/t3200-branch.sh
+++ b/t/t3200-branch.sh
@@ -61,4 +61,16 @@ test_expect_success \
test -f .git/logs/refs/heads/g/h/i &&
diff expect .git/logs/refs/heads/g/h/i'
+test_expect_success \
+ 'git branch j/k should work after branch j has been deleted' \
+ 'git-branch j &&
+ git-branch -d j &&
+ git-branch j/k'
+
+test_expect_success \
+ 'git branch l should work after branch l/m has been deleted' \
+ 'git-branch l/m &&
+ git-branch -d l/m &&
+ git-branch l'
+
test_done