From: Miklos Vajna Date: Tue, 29 Jul 2008 23:16:58 +0000 (+0200) Subject: builtin-help: make some internal functions available to other builtins X-Git-Tag: v1.6.1-rc1~294^2~8 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/940208a771066229bc6a486f6a058e332b71cfe4?hp=940208a771066229bc6a486f6a058e332b71cfe4 builtin-help: make some internal functions available to other builtins Make load_command_list() capable of filtering for a given prefix and loading into a pair of "struct cmdnames" supplied by the caller. Make the static add_cmdname(), exclude_cmds() and is_in_cmdlist() functions non-static. Make list_commands() accept a custom title, and work from a pair of "struct cmdnames" supplied by the caller. Signed-off-by: Miklos Vajna Signed-off-by: Junio C Hamano ---