completion: drop the hard coded list of config vars
The new help option --config-for-completion is a machine friendlier version of --config where all the placeholders and wildcards are dropped, leaving only the good, completable prefixes for git-completion.bash to consume. 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
431bb23a27
commit
e17ca92637
2
help.h
2
help.h
@ -22,7 +22,7 @@ static inline void mput_char(char c, unsigned int num)
|
||||
extern void list_common_cmds_help(void);
|
||||
extern void list_all_cmds_help(void);
|
||||
extern void list_common_guides_help(void);
|
||||
extern void list_config_help(void);
|
||||
extern void list_config_help(int for_human);
|
||||
|
||||
extern void list_all_main_cmds(struct string_list *list);
|
||||
extern void list_all_other_cmds(struct string_list *list);
|
||||
|
Reference in New Issue
Block a user