diff options
author | Matthew DeVore <matvore@google.com> | 2019-06-27 15:54:09 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-06-28 08:41:53 -0700 |
commit | f56f764279be2433ecf3cb3a484210bcaffea70c (patch) | |
tree | 211ef3c804dccbfffcc66ab35941c79a15efd5b9 /builtin/diff.c | |
parent | list-objects-filter: implement composite filters (diff) | |
download | tgif-f56f764279be2433ecf3cb3a484210bcaffea70c.tar.xz |
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 'builtin/diff.c')
0 files changed, 0 insertions, 0 deletions