summaryrefslogtreecommitdiff
path: root/connect.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2018-05-29 14:51:14 +0900
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-05-29 14:51:14 +0900
commit17b3e5150506281fd2d675c150cf1e71f914ad54 (patch)
tree7b3fbbb04c5b03178d3d44f51fdf45dea35eba29 /connect.c
parentThe sixth batch for 2.18 (diff)
parentcompletion: allow to customize the completable command list (diff)
downloadtgif-17b3e5150506281fd2d675c150cf1e71f914ad54.tar.xz
Merge branch 'nd/command-list' into nd/complete-config-vars
* nd/command-list: completion: allow to customize the completable command list completion: add and use --list-cmds=alias completion: add and use --list-cmds=nohelpers Move declaration for alias.c to alias.h completion: reduce completable command list completion: let git provide the completable command list command-list.txt: documentation and guide line help: use command-list.txt for the source of guides help: add "-a --verbose" to list all commands with synopsis git: support --list-cmds=list-<category> completion: implement and use --list-cmds=main,others git --list-cmds: collect command list in a string_list git.c: convert --list-* to --list-cmds=* Remove common-cmds.h help: use command-list.h for common command list generate-cmds.sh: export all commands to command-list.h generate-cmds.sh: factor out synopsis extract code
Diffstat (limited to 'connect.c')
-rw-r--r--connect.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/connect.c b/connect.c
index 31aa9c8433..968e91b18c 100644
--- a/connect.c
+++ b/connect.c
@@ -14,6 +14,7 @@
#include "strbuf.h"
#include "version.h"
#include "protocol.h"
+#include "alias.h"
static char *server_capabilities_v1;
static struct argv_array server_capabilities_v2 = ARGV_ARRAY_INIT;