aboutsummaryrefslogtreecommitdiffstats
path: root/list-objects-filter-options.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2019-03-07 09:59:57 +0900
committerJunio C Hamano <gitster@pobox.com>2019-03-07 09:59:58 +0900
commitb0e7fb2e5cc70a03d75e41fe6b1bde6fdc0872c8 (patch)
treed07202c20257da961faf1f9a2d4852371c0289ca /list-objects-filter-options.c
parentMerge branch 'ab/receive-pack-use-after-free-fix' (diff)
parentcompletion: add more parameter value completion (diff)
downloadgit-b0e7fb2e5cc70a03d75e41fe6b1bde6fdc0872c8.tar.gz
git-b0e7fb2e5cc70a03d75e41fe6b1bde6fdc0872c8.zip
Merge branch 'nd/completion-more-parameters'
The command line completion (in contrib/) has been taught to complete more subcommand parameters. * nd/completion-more-parameters: completion: add more parameter value completion
Diffstat (limited to 'list-objects-filter-options.c')
-rw-r--r--list-objects-filter-options.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/list-objects-filter-options.c b/list-objects-filter-options.c
index b71bd1fb65..c0036f7378 100644
--- a/list-objects-filter-options.c
+++ b/list-objects-filter-options.c
@@ -82,6 +82,10 @@ static int gently_parse_list_objects_filter(
filter_options->sparse_path_value = strdup(v0);
return 0;
}
+ /*
+ * Please update _git_fetch() in git-completion.bash when you
+ * add new filters
+ */
if (errbuf)
strbuf_addf(errbuf, "invalid filter-spec '%s'", arg);