From: Matthew DeVore Date: Thu, 27 Jun 2019 22:54:09 +0000 (-0700) Subject: list-objects-filter-options: move error check up X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/f56f764279be2433ecf3cb3a484210bcaffea70c?ds=inline;hp=f56f764279be2433ecf3cb3a484210bcaffea70c 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 Signed-off-by: Junio C Hamano ---