Thread (10 messages) flat view 10 messages, 3 authors, 2016-06-15
STALE3727d

[PATCH] t3200: test branch creation with -v

From: Michael J Gruber <hidden>
Date: 2016-06-15 22:52:00
Subsystem: the rest · Maintainer: Linus Torvalds

Make sure that "git branch -v t" creates branch "t".

Suggested-by: Jeff King <redacted>
Signed-off-by: Michael J Gruber <redacted>
---
 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 c466b20..8381f0c 100755
--- a/t/t3200-branch.sh
+++ b/t/t3200-branch.sh
@@ -105,6 +105,13 @@ test_expect_success 'git branch -v -d t should work' '
 	test ! -f .git/refs/heads/t
 '
 
+test_expect_success 'git branch -v t should work' '
+	git branch -v t &&
+	test .git/refs/heads/t &&
+	git branch -d t &&
+	test ! -f .git/refs/heads/t
+'
+
 test_expect_success 'git branch -v -m t s should work' '
 	git branch t &&
 	test .git/refs/heads/t &&
-- 
1.7.7.rc0.469.g9eb94
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help