summaryrefslogtreecommitdiff
path: root/builtin/add.c
diff options
context:
space:
mode:
authorLibravatar Sebastian Schuberth <sschuberth@gmail.com>2014-01-02 17:16:30 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2014-01-06 11:26:10 -0800
commita3c5263438f7c0ff7dd4d0d8ea86ed7a84a32d18 (patch)
treed1cef2b09296e1ce5e20cf0b1359626435741e2c /builtin/add.c
parentgit.c: consistently use the term "builtin" instead of "internal command" (diff)
downloadtgif-a3c5263438f7c0ff7dd4d0d8ea86ed7a84a32d18.tar.xz
builtin/help.c: call load_command_list() only when it is needed
This avoids list_commands_in_dir() being called when not needed which is quite slow due to file I/O in order to list matching files in a directory. Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/add.c')
0 files changed, 0 insertions, 0 deletions