packfile: allow install_packed_git to handle arbitrary repositories
[gitweb.git] / http.c
diff --git a/http.c b/http.c
index 4d613d5f6bc3fbcda9db68f678f34238735c973b..111e3c12c8e5edecf09289b6dc79fda232b55938 100644 (file)
--- a/http.c
+++ b/http.c
@@ -2134,7 +2134,7 @@ int finish_http_pack_request(struct http_pack_request *preq)
                return -1;
        }
 
-       install_packed_git(p);
+       install_packed_git(the_repository, p);
        free(tmp_idx);
        return 0;
 }