]> git.ipfire.org Git - thirdparty/git.git/blobdiff - serve.c
bundle-uri client: add helper for testing server
[thirdparty/git.git] / serve.c
diff --git a/serve.c b/serve.c
index 733347f602aa1ede3e45fee94050163790d65bf9..cbf4a143cfea9bd450d5d033b1ec051025af8a1f 100644 (file)
--- a/serve.c
+++ b/serve.c
@@ -7,6 +7,7 @@
 #include "protocol-caps.h"
 #include "serve.h"
 #include "upload-pack.h"
+#include "bundle-uri.h"
 
 static int advertise_sid = -1;
 static int client_hash_algo = GIT_HASH_SHA1;
@@ -135,6 +136,11 @@ static struct protocol_capability capabilities[] = {
                .advertise = always_advertise,
                .command = cap_object_info,
        },
+       {
+               .name = "bundle-uri",
+               .advertise = bundle_uri_advertise,
+               .command = bundle_uri_command,
+       },
 };
 
 void protocol_v2_advertise_capabilities(void)