summaryrefslogtreecommitdiff
path: root/upload-pack.c
diff options
context:
space:
mode:
authorMatthew DeVore <matvore@google.com>2019-06-27 22:54:09 (GMT)
committerJunio C Hamano <gitster@pobox.com>2019-06-28 15:41:53 (GMT)
commitf56f764279be2433ecf3cb3a484210bcaffea70c (patch)
tree211ef3c804dccbfffcc66ab35941c79a15efd5b9 /upload-pack.c
parente987df5fe62b8b29be4cdcdeb3704681ada2b29e (diff)
downloadgit-f56f764279be2433ecf3cb3a484210bcaffea70c.zip
git-f56f764279be2433ecf3cb3a484210bcaffea70c.tar.gz
git-f56f764279be2433ecf3cb3a484210bcaffea70c.tar.bz2
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 'upload-pack.c')
0 files changed, 0 insertions, 0 deletions