diff options
author | Jeff King <peff@peff.net> | 2017-03-09 08:29:04 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-03-10 11:51:30 -0800 |
commit | d344d1cb8a1d1bea268ec78f5d7315381a0a6c96 (patch) | |
tree | 5a96072bb00c6580ee579141cdac003129d4870c /wrapper.c | |
parent | ref-filter: use contains_result enum consistently (diff) | |
download | tgif-d344d1cb8a1d1bea268ec78f5d7315381a0a6c96.tar.xz |
ref-filter: die on parse_commit errors
The tag-contains algorithm quietly returns "does not
contain" when parse_commit() fails. But a parse failure is
an indication that the repository is corrupt. We should die
loudly rather than producing a bogus result.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'wrapper.c')
0 files changed, 0 insertions, 0 deletions