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

Re: [PATCHv2 4/5] branch: introduce --list option

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

Possibly related (same subject, not in this thread)

On Thu, Sep 08, 2011 at 02:17:24PM -0700, Junio C Hamano wrote:
"branch -v" without other options or parameters still works in the list
mode, but that is not because there is "-v" but because there is no
parameter nor option.
[...]
+test_expect_success 'git branch -v pattern does not show branch summaries' '
+	test_must_fail git branch -v branch*
+'
You might also want to affirm that it does not just fail, but still
creates a branch, like:

  test_expect_success 'git branch -v <name> creates a branch' '
         git rev-parse HEAD >expect &&
         git branch -v foo &&
         git rev-parse foo >actual &&
         test_cmp expect actual
  '

-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