unpack-trees: add a note about path invalidation
[gitweb.git] / serve.c
diff --git a/serve.c b/serve.c
index 3692dda801eff42e936be1ca0e76c3fbc188c340..bda085f09c8e10314c2c497dbca978fd9241e7b5 100644 (file)
--- a/serve.c
+++ b/serve.c
@@ -55,7 +55,8 @@ struct protocol_capability {
 static struct protocol_capability capabilities[] = {
        { "agent", agent_advertise, NULL },
        { "ls-refs", always_advertise, ls_refs },
-       { "fetch", always_advertise, upload_pack_v2 },
+       { "fetch", upload_pack_advertise, upload_pack_v2 },
+       { "server-option", always_advertise, NULL },
 };
 
 static void advertise_capabilities(void)