upload-pack: propagate return value from object filter config callback
authorJeff King <peff@peff.net>
Thu, 3 Dec 2020 08:09:42 +0000 (03:09 -0500)
committerJunio C Hamano <gitster@pobox.com>
Thu, 3 Dec 2020 18:25:13 +0000 (10:25 -0800)
commitd43a21bdbbaf0bc286df8d8e2e29a3e9caa448e8
treec042749d6a3ee007d0ac8655f65912ead9f1a395
parent898f80736c75878acc02dc55672317fcc0e0a5a6
upload-pack: propagate return value from object filter config callback

If we encounter an error in parse_filter_object_config(), we'll complain
to stderr but won't actually propagate the return value up the stack.
This is unlike most of our config callbacks, which return the error to
git_config() so it can die (this includes the call just below us to
parse_hide_refs_config(), which can also produce errors).

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t5616-partial-clone.sh
upload-pack.c