diff options
author | Miklos Vajna <vmiklos@frugalware.org> | 2008-07-30 01:16:58 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-07-29 23:21:36 -0700 |
commit | 940208a771066229bc6a486f6a058e332b71cfe4 (patch) | |
tree | c9ec72fd1340362963049d53d78defc82dbe154c /Makefile | |
parent | 1ce4790bf5eeceb212f003fffcb36069c0ebb45e (diff) | |
download | git-940208a771066229bc6a486f6a058e332b71cfe4.tar.gz git-940208a771066229bc6a486f6a058e332b71cfe4.tar.xz |
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>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -355,6 +355,7 @@ LIB_H += git-compat-util.h LIB_H += graph.h LIB_H += grep.h LIB_H += hash.h +LIB_H += help.h LIB_H += list-objects.h LIB_H += ll-merge.h LIB_H += log-tree.h |