Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-09-07 12:40:04 +0400
committerJunio C Hamano <junkio@cox.net>2006-09-07 13:36:31 +0400
commitd9edcbd6061a392c1315ab6f3aedb9992a3c01b1 (patch)
tree518e7aa2d2206def6be99d36a9b2e73cffb1613b /daemon.c
parent355f541249633487aa2685e7e7e29963f596b308 (diff)
Revert "daemon: add upload-tar service."
This reverts parts of commit 74c0cc2 and part of commit 355f541. Franck and Rene are working on a unified upload-archive which would supersede this when done, so better not to get in their way. Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'daemon.c')
-rw-r--r--daemon.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/daemon.c b/daemon.c
index a4a08f39d5..b14d8083bb 100644
--- a/daemon.c
+++ b/daemon.c
@@ -22,6 +22,7 @@ static const char daemon_usage[] =
" [--timeout=n] [--init-timeout=n] [--strict-paths]\n"
" [--base-path=path] [--user-path | --user-path=path]\n"
" [--reuseaddr] [--detach] [--pid-file=file]\n"
+" [--[enable|disable|allow-override|forbid-override]=service]\n"
" [--user=user [[--group=group]] [directory...]";
/* List of acceptable pathname prefixes */
@@ -324,15 +325,8 @@ static int upload_pack(void)
return -1;
}
-static int upload_tar(void)
-{
- execl_git_cmd("upload-tar", ".", NULL);
- return -1;
-}
-
static struct daemon_service daemon_service[] = {
{ "upload-pack", "uploadpack", upload_pack, 1, 1 },
- { "upload-tar", "uploadtar", upload_tar, 0, 1 },
};
static void enable_service(const char *name, int ena) {