]> git.ipfire.org Git - thirdparty/git.git/blobdiff - git.c
Merge branch 'bc/sha-256-part-2'
[thirdparty/git.git] / git.c
diff --git a/git.c b/git.c
index a2d337eed77c13bf43ffde57642af9c1ea68b2db..2f021b97f344c668ba1753c66f015567f122a378 100644 (file)
--- a/git.c
+++ b/git.c
@@ -574,7 +574,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-index", cmd_show_index, RUN_SETUP_GENTLY },
        { "show-ref", cmd_show_ref, RUN_SETUP },
        { "sparse-checkout", cmd_sparse_checkout, RUN_SETUP | NEED_WORK_TREE },
        { "stage", cmd_add, RUN_SETUP | NEED_WORK_TREE },