author | Miklos Vajna <vmiklos@frugalware.org> | |
Tue, 29 Jul 2008 23:16:58 +0000 (01:16 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 30 Jul 2008 06:21:36 +0000 (23:21 -0700) | ||
commit | 940208a771066229bc6a486f6a058e332b71cfe4 | |
tree | c9ec72fd1340362963049d53d78defc82dbe154c | tree | snapshot |
parent | 1ce4790bf5eeceb212f003fffcb36069c0ebb45e | commit | diff |
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 <vmiklos@frugalware.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
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 <vmiklos@frugalware.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Makefile | diff | blob | history | |
help.c | diff | blob | history | |
help.h | [new file with mode: 0644] | blob |