diff options
author | Olga Telezhnaya <olyatelezhnaya@gmail.com> | 2018-03-29 12:49:45 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-03-29 14:24:53 -0700 |
commit | 3fc8439ce17dbe0b8d78b6d51a71b35f3f6ed30e (patch) | |
tree | 448cd3646008def7a1e1b25f416d6753b3f5e3ad /t/t8004-blame-with-conflicts.sh | |
parent | ref-filter: start adding strbufs with errors (diff) | |
download | tgif-3fc8439ce17dbe0b8d78b6d51a71b35f3f6ed30e.tar.xz |
ref-filter: add return value && strbuf to handlers
Continue removing die() calls from ref-filter formatting logic,
so that it could be used by other commands.
Change the signature of handlers by adding return value
and strbuf parameter for errors.
Return value equals 0 upon success and -1 upon failure.
Upon failure, error message is appended to the strbuf.
Signed-off-by: Olga Telezhnaia <olyatelezhnaya@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t8004-blame-with-conflicts.sh')
0 files changed, 0 insertions, 0 deletions