diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2019-02-16 18:24:41 +0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-02-20 12:31:56 -0800 |
commit | 5a59a2301f6ec9bcf1b101edb9ca33beb465842f (patch) | |
tree | e343ac79b7b9039a26f7ff9545e5bee53f06f8b2 /submodule.c | |
parent | 35ee755a8c43bcb3c2786522d423f006c23d32df (diff) | |
download | git-5a59a2301f6ec9bcf1b101edb9ca33beb465842f.tar.gz |
completion: add more parameter value completion
This adds value completion for a couple more paramters. To make it
easier to maintain these hard coded lists, add a comment at the original
list/code to remind people to update git-completion.bash too.
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'submodule.c')
-rw-r--r-- | submodule.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/submodule.c b/submodule.c index 934ecfa294..b251a81f8e 100644 --- a/submodule.c +++ b/submodule.c @@ -432,6 +432,10 @@ void handle_ignore_submodules_arg(struct diff_options *diffopt, diffopt->flags.ignore_dirty_submodules = 1; else if (strcmp(arg, "none")) die("bad --ignore-submodules argument: %s", arg); + /* + * Please update _git_status() in git-completion.bash when you + * add new options + */ } static int prepare_submodule_summary(struct rev_info *rev, const char *path, |