summaryrefslogtreecommitdiff
path: root/help.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2008-08-23 18:28:37 -0700
committerJunio C Hamano <gitster@pobox.com>2008-08-23 18:28:37 -0700
commitd6096f17d2d5d9ccb453aabf8edc6ee238b166fc (patch)
tree0699a406f367814d799817402044b89c44491d97 /help.c
parenta7b3269c4b9acde052d75b6dc54c8f869b77eb44 (diff)
parent913e0e99b6a6e63af6a062622a1f94bd78fd8052 (diff)
downloadgit-d6096f17d2d5d9ccb453aabf8edc6ee238b166fc.tar.gz
Merge branch 'maint'
* maint: unpack_trees(): protect the handcrafted in-core index from read_cache() git-p4: Fix one-liner in p4_write_pipe function. Completion: add missing '=' for 'diff --diff-filter' Fix 'git help help'
Diffstat (limited to 'help.c')
-rw-r--r--help.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/help.c b/help.c
index 3cb1962896..dc0786d800 100644
--- a/help.c
+++ b/help.c
@@ -555,7 +555,8 @@ static int is_git_command(const char *s)
{
load_command_list();
return is_in_cmdlist(&main_cmds, s) ||
- is_in_cmdlist(&other_cmds, s);
+ is_in_cmdlist(&other_cmds, s) ||
+ !strcmp(s, "help");
}
static const char *prepend(const char *prefix, const char *cmd)