Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDerrick Stolee <derrickstolee@github.com>2022-03-22 20:28:35 +0300
committerJunio C Hamano <gitster@pobox.com>2022-03-23 23:13:17 +0300
commitcc910442560e606546a328375c1394a982dfe8a6 (patch)
treeb444b0f4cfeb85959a2014f2f7eda1344b566b44 /list-objects-filter-options.h
parentf01e51a7cfd75131b7266131b1f7540ce0a8e5c1 (diff)
list-objects-filter: remove CL_ARG__FILTER
We have established the command-line interface for the --[no-]filter options for a while now, so we do not need a helper to make this editable in the future. Signed-off-by: Derrick Stolee <derrickstolee@github.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'list-objects-filter-options.h')
-rw-r--r--list-objects-filter-options.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/list-objects-filter-options.h b/list-objects-filter-options.h
index 2eb6c98394..90e4bc9625 100644
--- a/list-objects-filter-options.h
+++ b/list-objects-filter-options.h
@@ -69,9 +69,6 @@ struct list_objects_filter_options {
*/
};
-/* Normalized command line arguments */
-#define CL_ARG__FILTER "filter"
-
/*
* Parse value of the argument to the "filter" keyword.
* On the command line this looks like:
@@ -111,7 +108,7 @@ int opt_parse_list_objects_filter(const struct option *opt,
const char *arg, int unset);
#define OPT_PARSE_LIST_OBJECTS_FILTER(fo) \
- OPT_CALLBACK(0, CL_ARG__FILTER, fo, N_("args"), \
+ OPT_CALLBACK(0, "filter", fo, N_("args"), \
N_("object filtering"), \
opt_parse_list_objects_filter)