Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/git.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2018-06-25 23:22:37 +0300
committerJunio C Hamano <gitster@pobox.com>2018-06-25 23:22:37 +0300
commitfa82bb70d9ef3acb6a47cddfb38a7b0ca40ac362 (patch)
tree9fd95dbfb14d7d90294bcbed371db3d2d7eb7061 /git.c
parent93b74a7cfa47b636c060b033bc7d03319f7841e2 (diff)
parentfb3010c31fdaa00ae91152431c3da7e300daf848 (diff)
Merge branch 'jk/show-index'
Modernize a less often used command. * jk/show-index: show-index: update documentation for index v2 make show-index a builtin
Diffstat (limited to 'git.c')
-rw-r--r--git.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/git.c b/git.c
index c2f48d53dd..9dbe6ffaa7 100644
--- a/git.c
+++ b/git.c
@@ -537,6 +537,7 @@ static struct cmd_struct commands[] = {
{ "shortlog", cmd_shortlog, RUN_SETUP_GENTLY | USE_PAGER },
{ "show", cmd_show, RUN_SETUP },
{ "show-branch", cmd_show_branch, RUN_SETUP },
+ { "show-index", cmd_show_index },
{ "show-ref", cmd_show_ref, RUN_SETUP },
{ "stage", cmd_add, RUN_SETUP | NEED_WORK_TREE },
{ "status", cmd_status, RUN_SETUP | NEED_WORK_TREE },