Signed-off-by: Franck Bui-Huu <vagabon.xyz@xxxxxxxxx> --- daemon.c | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/daemon.c b/daemon.c index ed3a13d..381e6ae 100644 --- a/daemon.c +++ b/daemon.c @@ -247,6 +247,12 @@ static int service_upload_pack(const cha return -1; } +static int service_upload_tar(const char *dir, const char *args) +{ + execl_git_cmd("upload-tar", dir, NULL); + return -1; +} + /* service options */ #define NEED_REPO (1<<0) @@ -258,6 +264,7 @@ struct service_info { static struct service_info services[] = { { "git-upload-pack", service_upload_pack, NEED_REPO }, + { "git-upload-tar", service_upload_tar, NEED_REPO }, }; static int run_service(char *cmdline) -- 1.4.2 - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html