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:59 -0700 |
commit | 74efea9474149b16bbc17f89df00cd3d117f763f (patch) | |
tree | b3a7f034c3721b655ba3d7dd79c28d8a8f36a536 /merge.c | |
parent | ref-filter: change parsing function error handling (diff) | |
download | tgif-74efea9474149b16bbc17f89df00cd3d117f763f.tar.xz |
ref-filter: add return value to parsers
Continue removing die() calls from ref-filter formatting logic,
so that it could be used by other commands.
Change the signature of parsers by adding return value and
strbuf parameter for error message.
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 'merge.c')
0 files changed, 0 insertions, 0 deletions