summaryrefslogtreecommitdiff
path: root/git.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2010-01-22 15:55:19 (GMT)
committerJunio C Hamano <gitster@pobox.com>2010-01-22 18:10:27 (GMT)
commit3bb7256281bb1d291bb705a57dc3f30b26b7c127 (patch)
tree7d0fb7bf88cabcd5c7b17a0f687f359737c6ce2d /git.c
parent377d0276ca7446ce9fb2f6987b1e6b4ba9e7cf29 (diff)
downloadgit-3bb7256281bb1d291bb705a57dc3f30b26b7c127.zip
git-3bb7256281bb1d291bb705a57dc3f30b26b7c127.tar.gz
git-3bb7256281bb1d291bb705a57dc3f30b26b7c127.tar.bz2
make "index-pack" a built-in
This required some fairly trivial packfile function 'const' cleanup, since the builtin commands get a const char *argv[] array. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
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 6cc1eba..b3e23f1 100644
--- a/git.c
+++ b/git.c
@@ -320,6 +320,7 @@ static void handle_internal_command(int argc, const char **argv)
{ "grep", cmd_grep, USE_PAGER },
{ "hash-object", cmd_hash_object },
{ "help", cmd_help },
+ { "index-pack", cmd_index_pack },
{ "init", cmd_init_db },
{ "init-db", cmd_init_db },
{ "log", cmd_log, RUN_SETUP | USE_PAGER },