From: Olga Telezhnaya Date: Thu, 29 Mar 2018 12:49:45 +0000 (+0000) Subject: ref-filter: add return value && strbuf to handlers X-Git-Tag: v2.18.0-rc0~101^2~3 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/3fc8439ce17dbe0b8d78b6d51a71b35f3f6ed30e?ds=inline;hp=3fc8439ce17dbe0b8d78b6d51a71b35f3f6ed30e 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 Signed-off-by: Junio C Hamano ---