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

Re: [PATCH] t3200: test branch creation with -v

From: Jeff King <hidden>
Date: 2016-06-15 22:52:00

On Fri, Sep 09, 2011 at 09:40:59PM +0200, Michael J Gruber wrote:
+test_expect_success 'git branch -v t should work' '
+	git branch -v t &&
+	test .git/refs/heads/t &&
test -f ?

Also, don't we have test_path_is_file which yields slightly prettier
output (and maybe some portability benefits; I don't remember)?
+	git branch -d t &&
+	test ! -f .git/refs/heads/t
Ditto for 'test_path_is_missing' here.

-Peff
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help