diff options
author | Junio C Hamano <gitster@pobox.com> | 2014-01-03 12:28:09 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-01-03 12:28:09 -0800 |
commit | 76c478a51f250f58289b710c0c2c9f592431c2b2 (patch) | |
tree | dbe668f4574bb6d57a7335fde3cce8f9687b24fc /builtin/help.c | |
parent | 44484662d83de2ae98d04738ec43d4dea1f859a8 (diff) | |
download | git-jc/is-git-command.tar.gz |
Diffstat (limited to 'builtin/help.c')
-rw-r--r-- | builtin/help.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/builtin/help.c b/builtin/help.c index cc17e670ce..a31a538cbd 100644 --- a/builtin/help.c +++ b/builtin/help.c @@ -286,12 +286,6 @@ static int git_help_config(const char *var, const char *value, void *cb) static struct cmdnames main_cmds, other_cmds; -static int is_git_command(const char *s) -{ - return is_in_cmdlist(&main_cmds, s) || - is_in_cmdlist(&other_cmds, s); -} - static const char *prepend(const char *prefix, const char *cmd) { size_t pre_len = strlen(prefix); |