summaryrefslogtreecommitdiff
path: root/shell.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2018-06-01 06:06:37 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-06-01 06:06:37 (GMT)
commit2289880f784326dc955f213072164539dcaf445e (patch)
tree3e6d5465c144c76ffacde79aa33f9252b1e53a6e /shell.c
parent2161ed80980dc774521b963d8b4b18f746124283 (diff)
parent6532f3740b1c228c0a2a03a4126f4f7e4f2d73e7 (diff)
downloadgit-2289880f784326dc955f213072164539dcaf445e.zip
git-2289880f784326dc955f213072164539dcaf445e.tar.gz
git-2289880f784326dc955f213072164539dcaf445e.tar.bz2
Merge branch 'nd/command-list'
The list of commands with their various attributes were spread across a few places in the build procedure, but it now is getting a bit more consolidated to allow more automation. * 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 'shell.c')
-rw-r--r--shell.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/shell.c b/shell.c
index 0200d10..40084a3 100644
--- a/shell.c
+++ b/shell.c
@@ -3,6 +3,7 @@
#include "exec-cmd.h"
#include "strbuf.h"
#include "run-command.h"
+#include "alias.h"
#define COMMAND_DIR "git-shell-commands"
#define HELP_COMMAND COMMAND_DIR "/help"