diff options
author | Christian Couder <chriscool@tuxfamily.org> | 2008-05-11 18:28:25 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-05-11 20:51:12 +0200 |
commit | dfd1b749befcb581d84722caa6a3af56ce6526a5 (patch) | |
tree | 0f7b1e456937ec3309927c007cb460327353c557 /revision.c | |
parent | rev-parse: fix using "--default" with "--verify" (diff) | |
download | git-dfd1b749befcb581d84722caa6a3af56ce6526a5.tar.xz git-dfd1b749befcb581d84722caa6a3af56ce6526a5.zip |
rev-parse --verify: do not output anything on error
Before this patch, when "git rev-parse --verify" was passed at least one
good rev and then anything, it would output something for the good rev
even if it would latter exit on error.
With this patch, we only output something if everything is ok.
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'revision.c')
0 files changed, 0 insertions, 0 deletions