Code

branch: introduce --list option
authorMichael J Gruber <git@drmicha.warpmail.net>
Sun, 28 Aug 2011 14:54:31 +0000 (16:54 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 29 Aug 2011 05:56:05 +0000 (22:56 -0700)
commitcddd127b9afe3aa516aafdc38e9a8778f1340e0d
tree063793c984d28ae96bf3f770605fb728bf4c880b
parent171edcbb49df30bbe96cc7f7204549df22c1beee
branch: introduce --list option

Currently, there is no way to invoke the list mode explicitly, without
giving -v to force verbose output.

Introduce a --list option which invokes the list mode. This will be
beneficial for invoking list mode with pattern matching, which otherwise
would be interpreted as branch creation.

Along with --list, test also combinations of existing options.

Signed-off-by: Michael J Gruber <git@drmicha.warpmail.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-branch.txt
builtin/branch.c
t/t3200-branch.sh
t/t3203-branch-output.sh