X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=serve.c;h=ac20c7276304c51a2169e3d95777a05a1d6c1e31;hb=608cc4f2738d5e2055e238b2a9e482180d948a05;hp=eec2fe6f294cd1c0c5e8a76b66b09d78dd4e22da;hpb=2d436678a70c118bc2683b8d81131459e602a1d7;p=thirdparty%2Fgit.git diff --git a/serve.c b/serve.c index eec2fe6f29..ac20c72763 100644 --- a/serve.c +++ b/serve.c @@ -73,7 +73,7 @@ struct protocol_capability { static struct protocol_capability capabilities[] = { { "agent", agent_advertise, NULL }, - { "ls-refs", always_advertise, ls_refs }, + { "ls-refs", ls_refs_advertise, ls_refs }, { "fetch", upload_pack_advertise, upload_pack_v2 }, { "server-option", always_advertise, NULL }, { "object-format", object_format_advertise, NULL },