Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
rev-parse: add --shared-index-path to get shared index path
[gitweb.git]
/
builtin
/
help.c
diff --git
a/builtin/help.c
b/builtin/help.c
index b6fc15e5b06be6c9c89f2375f5f812c101dc43f2..1fdefeb6867cdd37beaf41c5fa9e113576b19f17 100644
(file)
--- a/
builtin/help.c
+++ b/
builtin/help.c
@@
-288,6
+288,9
@@
static struct cmdnames main_cmds, other_cmds;
static int is_git_command(const char *s)
{
+ if (is_builtin(s))
+ return 1;
+
load_command_list("git-", &main_cmds, &other_cmds);
return is_in_cmdlist(&main_cmds, s) ||
is_in_cmdlist(&other_cmds, s);