branch: exit status now reflects if branch listing finds an error
commit1603ade81352a526ccb206f41ff81ecbc855df2d
authorSimo Melenius <simo.melenius@iki.fi>
Fri, 4 Jun 2010 09:50:10 +0000 (4 12:50 +0300)
committerJunio C Hamano <gitster@pobox.com>
Mon, 7 Jun 2010 22:48:06 +0000 (7 15:48 -0700)
tree9496b2133b624d63c56cfbb7254b65aa305e1cda
parent7c42e390a37a11b1f7a77f5f07c261a8f930663a
branch: exit status now reflects if branch listing finds an error

If some refs could not be read when listing branches, this can now be
observed in the exit status of the "git branch" command.

Signed-off-by: Simo Melenius <simo.melenius@iki.fi>
Reviewed-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/branch.c