summaryrefslogtreecommitdiff
path: root/fetch-object.c
diff options
context:
space:
mode:
authorLibravatar Matthew DeVore <matvore@google.com>2019-06-27 15:54:09 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2019-06-28 08:41:53 -0700
commitf56f764279be2433ecf3cb3a484210bcaffea70c (patch)
tree211ef3c804dccbfffcc66ab35941c79a15efd5b9 /fetch-object.c
parentlist-objects-filter: implement composite filters (diff)
downloadtgif-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 'fetch-object.c')
0 files changed, 0 insertions, 0 deletions