diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2019-02-16 12:24:41 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-02-20 21:31:56 +0100 |
commit | 5a59a2301f6ec9bcf1b101edb9ca33beb465842f (patch) | |
tree | e343ac79b7b9039a26f7ff9545e5bee53f06f8b2 /apply.c | |
parent | Git 2.21-rc2 (diff) | |
download | git-5a59a2301f6ec9bcf1b101edb9ca33beb465842f.tar.xz git-5a59a2301f6ec9bcf1b101edb9ca33beb465842f.zip |
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 'apply.c')
-rw-r--r-- | apply.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -56,6 +56,10 @@ static int parse_whitespace_option(struct apply_state *state, const char *option state->ws_error_action = correct_ws_error; return 0; } + /* + * Please update $__git_whitespacelist in git-completion.bash + * when you add new options. + */ return error(_("unrecognized whitespace option '%s'"), option); } |