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>
This commit is contained in:

committed by
Junio C Hamano

parent
35ee755a8c
commit
5a59a2301f
@ -306,6 +306,10 @@ int git_xmerge_config(const char *var, const char *value, void *cb)
|
||||
git_xmerge_style = XDL_MERGE_DIFF3;
|
||||
else if (!strcmp(value, "merge"))
|
||||
git_xmerge_style = 0;
|
||||
/*
|
||||
* Please update _git_checkout() in
|
||||
* git-completion.bash when you add new merge config
|
||||
*/
|
||||
else
|
||||
die("unknown style '%s' given for '%s'",
|
||||
value, var);
|
||||
|
Reference in New Issue
Block a user