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:57 -0700 |
commit | e6ff7b3bb55ad458130906f35226054deb789224 (patch) | |
tree | 735df8d60350e2940e91828ac4c3dcb70716af88 /t/t4013/diff.diff-tree_--pretty_-p_side | |
parent | ref-filter: add return value && strbuf to handlers (diff) | |
download | tgif-e6ff7b3bb55ad458130906f35226054deb789224.tar.xz |
ref-filter: change parsing function error handling
Continue removing die() calls from ref-filter formatting logic,
so that it could be used by other commands.
Change the signature of parse_ref_filter_atom() by adding
strbuf parameter for error message.
The function returns the position in the used_atom[] array
(as before) for the given atom, or -1 to signal an error.
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/t4013/diff.diff-tree_--pretty_-p_side')
0 files changed, 0 insertions, 0 deletions