diff options
author | Simo Melenius <simo.melenius@iki.fi> | 2010-06-04 12:50:11 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-06-07 15:50:00 -0700 |
commit | 0e9716e65e40883759082b35e90113d0d0c8f7a6 (patch) | |
tree | 65239c4fffe39dce395e71ca74a34622e30804bd /grep.h | |
parent | branch: exit status now reflects if branch listing finds an error (diff) | |
download | tgif-0e9716e65e40883759082b35e90113d0d0c8f7a6.tar.xz |
branch: don't fail listing branches if one of the commits wasn't found
When listing branches with ref lookups, if one of the known raw refs
doesn't point to a commit then "git branch" would return error(),
terminating the whole for_each_rawref() iteration and possibly hiding
any remaining refs.
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>
Diffstat (limited to 'grep.h')
0 files changed, 0 insertions, 0 deletions