summaryrefslogtreecommitdiff
path: root/git.c
diff options
context:
space:
mode:
authorDaniel Barkalow <barkalow@iabervon.org>2007-11-04 15:51:17 -0500
committerJunio C Hamano <gitster@pobox.com>2007-11-05 12:25:42 -0800
commit8951d7c1f1ae38f34617b6c2490bf65e73e371f7 (patch)
treee09193e8c3a3bb548dbbafd6f41dff733eccd230 /git.c
parent40cb4fab720807f8525fb125e6c4ddc802ee8ed1 (diff)
downloadgit-8951d7c1f1ae38f34617b6c2490bf65e73e371f7.tar.gz
Build in ls-remote
This actually replaces peek-remote with ls-remote, since peek-remote now handles everything. peek-remote remains an a second name for ls-remote, although its help message now gives the "ls-remote" name. Signed-off-by: Daniel Barkalow <barkalow@iabervon.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git.c')
-rw-r--r--git.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/git.c b/git.c
index 19a2172a10..b173f227f0 100644
--- a/git.c
+++ b/git.c
@@ -326,6 +326,7 @@ static void handle_internal_command(int argc, const char **argv)
{ "log", cmd_log, RUN_SETUP | USE_PAGER },
{ "ls-files", cmd_ls_files, RUN_SETUP },
{ "ls-tree", cmd_ls_tree, RUN_SETUP },
+ { "ls-remote", cmd_ls_remote },
{ "mailinfo", cmd_mailinfo },
{ "mailsplit", cmd_mailsplit },
{ "merge-base", cmd_merge_base, RUN_SETUP },
@@ -333,7 +334,7 @@ static void handle_internal_command(int argc, const char **argv)
{ "mv", cmd_mv, RUN_SETUP | NEED_WORK_TREE },
{ "name-rev", cmd_name_rev, RUN_SETUP },
{ "pack-objects", cmd_pack_objects, RUN_SETUP },
- { "peek-remote", cmd_peek_remote },
+ { "peek-remote", cmd_ls_remote },
{ "pickaxe", cmd_blame, RUN_SETUP },
{ "prune", cmd_prune, RUN_SETUP },
{ "prune-packed", cmd_prune_packed, RUN_SETUP },