]> git.ipfire.org Git - thirdparty/git.git/blobdiff - help.c
submodules: fix of regression on fetching of non-init subsub-repo
[thirdparty/git.git] / help.c
diff --git a/help.c b/help.c
index 4e2468a44dfe3154642299dbca0761ab114cb859..919cbb9206aedf98ac97e59e2132451210e1d4e4 100644 (file)
--- a/help.c
+++ b/help.c
@@ -263,6 +263,8 @@ void load_command_list(const char *prefix,
        const char *env_path = getenv("PATH");
        const char *exec_path = git_exec_path();
 
+       load_builtin_commands(prefix, main_cmds);
+
        if (exec_path) {
                list_commands_in_dir(main_cmds, exec_path, prefix);
                QSORT(main_cmds->names, main_cmds->cnt, cmdname_compare);