* [PATCH] Add branch test case: create "j/k" when "j" has been deleted.
@ 2006-09-20 5:03 Christian Couder
2006-09-20 7:39 ` Junio C Hamano
0 siblings, 1 reply; 2+ messages in thread
From: Christian Couder @ 2006-09-20 5:03 UTC (permalink / raw)
To: Junio Hamano; +Cc: git
Linus wrote:
"Somebody should add this test-case
git branch test
git branch -d test
git branch test/first
which should work."
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
---
t/t3200-branch.sh | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/t/t3200-branch.sh b/t/t3200-branch.sh
index 5b04efc..d863498 100755
--- a/t/t3200-branch.sh
+++ b/t/t3200-branch.sh
@@ -61,4 +61,11 @@ 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_done
--
1.4.2.1.g251a
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-09-20 7:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-20 5:03 [PATCH] Add branch test case: create "j/k" when "j" has been deleted Christian Couder
2006-09-20 7:39 ` Junio C Hamano
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox