diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2019-02-16 14:24:41 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-02-20 23:31:56 +0300 |
commit | 5a59a2301f6ec9bcf1b101edb9ca33beb465842f (patch) | |
tree | e343ac79b7b9039a26f7ff9545e5bee53f06f8b2 /ref-filter.c | |
parent | 35ee755a8c43bcb3c2786522d423f006c23d32df (diff) |
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 'ref-filter.c')
-rw-r--r-- | ref-filter.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ref-filter.c b/ref-filter.c index 422a9c9ae3..cf80d4d69b 100644 --- a/ref-filter.c +++ b/ref-filter.c @@ -485,6 +485,10 @@ static struct { { "if", SOURCE_NONE, FIELD_STR, if_atom_parser }, { "then", SOURCE_NONE }, { "else", SOURCE_NONE }, + /* + * Please update $__git_ref_fieldlist in git-completion.bash + * when you add new atoms + */ }; #define REF_FORMATTING_STATE_INIT { 0, NULL } |