author | Simo Melenius <simo.melenius@iki.fi> | |
Fri, 4 Jun 2010 09:50:10 +0000 (12:50 +0300) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 7 Jun 2010 22:48:06 +0000 (15:48 -0700) | ||
commit | 1603ade81352a526ccb206f41ff81ecbc855df2d | |
tree | 9496b2133b624d63c56cfbb7254b65aa305e1cda | tree | snapshot |
parent | 7c42e390a37a11b1f7a77f5f07c261a8f930663a | commit | diff |
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>
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 | diff | blob | history |