diff options
author | Matthew DeVore <matvore@google.com> | 2019-06-28 01:54:09 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-06-28 18:41:53 +0300 |
commit | f56f764279be2433ecf3cb3a484210bcaffea70c (patch) | |
tree | 211ef3c804dccbfffcc66ab35941c79a15efd5b9 /transport-helper.c | |
parent | e987df5fe62b8b29be4cdcdeb3704681ada2b29e (diff) |
list-objects-filter-options: move error check up
Move the check that filter_options->choice is set to higher in the call
stack. This can only be set when the gentle parse function is called
from one of the two call sites.
This is important because in an upcoming patch this may or may not be an
error, and whether it is an error is only known to the
parse_list_objects_filter function.
Signed-off-by: Matthew DeVore <matvore@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'transport-helper.c')
0 files changed, 0 insertions, 0 deletions