summaryrefslogtreecommitdiff
path: root/git.c
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-05-19 01:46:44 (GMT)
committerJunio C Hamano <junkio@cox.net>2006-05-20 00:48:34 (GMT)
commit217542640ed219c980fff2b3c307c4520120f20f (patch)
tree989b379b0f13db7392fd7671d57a86a90674b9ac /git.c
parent288c0384505e6c25cc1a162242919a0485d50a74 (diff)
downloadgit-217542640ed219c980fff2b3c307c4520120f20f.zip
git-217542640ed219c980fff2b3c307c4520120f20f.tar.gz
git-217542640ed219c980fff2b3c307c4520120f20f.tar.bz2
built-in tar-tree and remote tar-tree
This makes tar-tree a built-in. As an added bonus, you can now say: git tar-tree --remote=remote-repository <ent> [<base>] This does not work with git-daemon yet, but should work with localhost and git over ssh transports. Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'git.c')
-rw-r--r--git.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/git.c b/git.c
index 3216d31..fd8e9bf 100644
--- a/git.c
+++ b/git.c
@@ -50,8 +50,10 @@ static void handle_internal_command(int argc, const char **argv, char **envp)
{ "count-objects", cmd_count_objects },
{ "diff", cmd_diff },
{ "grep", cmd_grep },
- { "rev-list", cmd_rev_list },
{ "init-db", cmd_init_db },
+ { "tar-tree", cmd_tar_tree },
+ { "upload-tar", cmd_upload_tar },
+ { "rev-list", cmd_rev_list },
{ "check-ref-format", cmd_check_ref_format }
};
int i;