| 455 | static struct cmdnames main_cmds, other_cmds; |
| 456 | |
| 457 | static int is_git_command(const char *s) |
| 458 | { |
| 459 | if (is_builtin(s)) |
| 460 | return 1; |
| 461 | |
| 462 | load_command_list("git-", &main_cmds, &other_cmds); |
| 463 | return is_in_cmdlist(&main_cmds, s) || |
| 464 | is_in_cmdlist(&other_cmds, s); |
| 465 | } |
| 466 | |
| 467 | static const char *cmd_to_page(const char *git_cmd) |
| 468 | { |
no test coverage detected