diff options
author | Daniel Barkalow <barkalow@iabervon.org> | 2007-09-10 23:02:45 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2007-09-19 03:22:30 -0700 |
commit | 30ae764b1e11f10b5fca723a876a0f3de3ca11ab (patch) | |
tree | b947d1e54e9bb87327e45395f28d4356821988c9 /git.c | |
parent | fbdeef948bbc085124f9634d5108940dce5fc688 (diff) | |
download | git-30ae764b1e11f10b5fca723a876a0f3de3ca11ab.tar.gz git-30ae764b1e11f10b5fca723a876a0f3de3ca11ab.tar.xz |
Modularize commit-walker
This turns the extern functions to be provided by the backend into a
struct of pointers, renames the functions to be more
namespace-friendly, and updates http-fetch to this interface. It
removes the unused include from http-push.c. It makes git-http-fetch a
builtin (with the implementation a separate file, accessible
directly).
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.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -344,6 +344,9 @@ static void handle_internal_command(int argc, const char **argv) { "get-tar-commit-id", cmd_get_tar_commit_id }, { "grep", cmd_grep, RUN_SETUP | USE_PAGER }, { "help", cmd_help }, +#ifndef NO_CURL + { "http-fetch", cmd_http_fetch, RUN_SETUP }, +#endif { "init", cmd_init_db }, { "init-db", cmd_init_db }, { "log", cmd_log, RUN_SETUP | USE_PAGER }, |