summaryrefslogtreecommitdiff
path: root/t/t1430-bad-ref-name.sh
diff options
context:
space:
mode:
authorLibravatar Olga Telezhnaya <olyatelezhnaya@gmail.com>2018-03-29 12:49:45 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-03-29 14:24:59 -0700
commit74efea9474149b16bbc17f89df00cd3d117f763f (patch)
treeb3a7f034c3721b655ba3d7dd79c28d8a8f36a536 /t/t1430-bad-ref-name.sh
parentref-filter: change parsing function error handling (diff)
downloadtgif-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 't/t1430-bad-ref-name.sh')
0 files changed, 0 insertions, 0 deletions