branch: die explicitly why when calling "git branch [-a|-r] branchname".
authorMatthieu Moy <Matthieu.Moy@imag.fr>
Wed, 30 Dec 2009 14:45:31 +0000 (15:45 +0100)
committerJunio C Hamano <gitster@pobox.com>
Thu, 31 Dec 2009 22:52:05 +0000 (14:52 -0800)
commit6e8f993a5a17f71edfd26a026bbc83cbbd3c0638
tree538b54ada8806479fd013931a10f1774f99499d7
parente97ca7f41f2b9bbdfc93d103c3f64337bb6dcc20
branch: die explicitly why when calling "git branch [-a|-r] branchname".

The -a and -r options used to be silently ignored in such a command.

Signed-off-by: Matthieu Moy <Matthieu.Moy@imag.fr>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-branch.c
t/t5403-post-checkout-hook.sh