aboutsummaryrefslogtreecommitdiff
path: root/help.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2020-10-08 21:53:26 -0700
committerJunio C Hamano <gitster@pobox.com>2020-10-08 21:53:26 -0700
commit86e1007abc58f8458ce90dc10a385239722cf08a (patch)
tree8d7ae6caf3219ff0684ebefdb4df704649940836 /help.c
parent08f06e542d3f36cf1044f32fd7f84576fa2f324b (diff)
parent722fc374914d4f9b37d42a8eda603eecb790f64c (diff)
downloadgit-86e1007abc58f8458ce90dc10a385239722cf08a.tar.xz
Merge branch 'js/no-builtins-on-disk-option'
Hotfix to breakage introduced in the topic in v2.29-rc0 * js/no-builtins-on-disk-option: help: do not expect built-in commands to be hardlinked
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);