diff options
author | Junio C Hamano <gitster@pobox.com> | 2020-05-05 21:54:27 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-05-05 21:54:27 (GMT) |
commit | 66527162008d2792c0000096dd7a41d6d5797df3 (patch) | |
tree | 6eb0708de90242185ee953963ff17086e507ce8f /list-objects-filter-options.h | |
parent | e34acbdc43056f2070a44b660c2e89121cf4bd18 (diff) | |
parent | 203c85339fb51bb8b83aae8f0adde44d6e55e018 (diff) | |
download | git-66527162008d2792c0000096dd7a41d6d5797df3.zip git-66527162008d2792c0000096dd7a41d6d5797df3.tar.gz git-66527162008d2792c0000096dd7a41d6d5797df3.tar.bz2 |
Merge branch 'dl/opt-callback-cleanup'
Code cleanup.
* dl/opt-callback-cleanup:
Use OPT_CALLBACK and OPT_CALLBACK_F
Diffstat (limited to 'list-objects-filter-options.h')
-rw-r--r-- | list-objects-filter-options.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/list-objects-filter-options.h b/list-objects-filter-options.h index 2ffb392..73fffa4 100644 --- a/list-objects-filter-options.h +++ b/list-objects-filter-options.h @@ -82,9 +82,9 @@ int opt_parse_list_objects_filter(const struct option *opt, const char *arg, int unset); #define OPT_PARSE_LIST_OBJECTS_FILTER(fo) \ - { OPTION_CALLBACK, 0, CL_ARG__FILTER, fo, N_("args"), \ - N_("object filtering"), 0, \ - opt_parse_list_objects_filter } + OPT_CALLBACK(0, CL_ARG__FILTER, fo, N_("args"), \ + N_("object filtering"), \ + opt_parse_list_objects_filter) /* * Translates abbreviated numbers in the filter's filter_spec into their |