summaryrefslogtreecommitdiff
path: root/help.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2014-01-03 12:28:09 -0800
committerJunio C Hamano <gitster@pobox.com>2014-01-03 12:28:09 -0800
commit76c478a51f250f58289b710c0c2c9f592431c2b2 (patch)
treedbe668f4574bb6d57a7335fde3cce8f9687b24fc /help.h
parent44484662d83de2ae98d04738ec43d4dea1f859a8 (diff)
downloadgit-jc/is-git-command.tar.gz
Diffstat (limited to 'help.h')
-rw-r--r--help.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/help.h b/help.h
index b21d7c94e8..33b1bfcfb0 100644
--- a/help.h
+++ b/help.h
@@ -24,6 +24,7 @@ extern void load_command_list(const char *prefix,
extern void add_cmdname(struct cmdnames *cmds, const char *name, int len);
/* Here we require that excludes is a sorted list. */
extern void exclude_cmds(struct cmdnames *cmds, struct cmdnames *excludes);
+extern int is_git_command(const char *name);
extern int is_in_cmdlist(struct cmdnames *cmds, const char *name);
extern void list_commands(unsigned int colopts, struct cmdnames *main_cmds, struct cmdnames *other_cmds);