summaryrefslogtreecommitdiff
path: root/help.c
diff options
context:
space:
mode:
authorLibravatar Jiang Xin <worldhello.net@gmail.com>2020-10-10 09:22:36 +0800
committerLibravatar Jiang Xin <worldhello.net@gmail.com>2020-10-10 09:22:36 +0800
commitb4a48be10ce4bfbca3f859642ab3fc939a9adb43 (patch)
treeb110c10635b8207cbc3898a41d451c0bc9d711ec /help.c
parentMerge branch 'fr_2.29.0_rnd_1' of github.com:jnavila/git (diff)
parentGit 2.29-rc1 (diff)
downloadtgif-b4a48be10ce4bfbca3f859642ab3fc939a9adb43.tar.xz
Merge tag 'v2.29.0-rc1' of github.com:git/git
Git 2.29-rc1 * tag 'v2.29.0-rc1' of github.com:git/git: Git 2.29-rc1 doc: fix the bnf like style of some commands doc: git-remote fix ups doc: use linkgit macro where needed. git-bisect-lk2009: make continuation of list indented ci: do not skip tagged revisions in GitHub workflows ci: skip GitHub workflow runs for already-tested commits/trees tests: avoid using the branch name `main` t1415: avoid using `main` as ref name Makefile: ASCII-sort += lists help: do not expect built-in commands to be hardlinked index-pack: make get_base_data() comment clearer index-pack: drop type_cas mutex index-pack: restore "resolving deltas" progress meter compat/mingw.h: drop extern from function declaration GitHub workflow: automatically follow minor updates of setup-msbuild t5534: split stdout and stderr redirection
Diffstat (limited to 'help.c')
-rw-r--r--help.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/help.c b/help.c
index 4e2468a44d..919cbb9206 100644
--- 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);