branch: exit status now reflects if branch listing finds an error · wolfpython/git@1603ade · GitHub
Skip to content

Commit 1603ade

Browse files
Simo Meleniusgitster
authored andcommitted
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>
1 parent 7c42e39 commit 1603ade

1 file changed

Lines changed: 19 additions & 6 deletions

File tree

builtin/branch.c

Lines changed: 19 additions & 6 deletions

0 commit comments

Comments
 (0)