aboutsummaryrefslogtreecommitdiff
path: root/http_server.go
diff options
context:
space:
mode:
Diffstat (limited to 'http_server.go')
-rw-r--r--http_server.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/http_server.go b/http_server.go
index ffbb711..1a4d0a3 100644
--- a/http_server.go
+++ b/http_server.go
@@ -132,6 +132,8 @@ func (router *http_router_t) ServeHTTP(w http.ResponseWriter, r *http.Request) {
switch repo_feature {
case "info":
handle_repo_info(w, r, params)
+ case "git-upload-pack":
+ handle_upload_pack(w, r, params)
case "tree":
params["rest"] = strings.Join(segments[separator_index+4:], "/")
if len(segments) < separator_index+5 && redirect_with_slash(w, r) {