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:25:02 -0700 |
commit | e339611b12e68d4658252bf4c557e58dea6e4c18 (patch) | |
tree | e82fc657c259af3a08ced87b185fd33f6bad76c5 /Documentation/technical | |
parent | ref-filter: add return value to parsers (diff) | |
download | tgif-e339611b12e68d4658252bf4c557e58dea6e4c18.tar.xz |
ref-filter: libify get_ref_atom_value()
Finish removing die() calls from ref-filter formatting logic,
so that it could be used by other commands.
Change the signature of get_ref_atom_value() and underlying functions
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 'Documentation/technical')
0 files changed, 0 insertions, 0 deletions