[PATCH v5.1 1/3] http-backend: Remove pointless objects/info/* service entry
- From
Shawn O. Pearce <spearce@spearce.org>
- Date
- Nov 5, 2009, 01:16 UTC
- Message-ID
- <1257383798-29826-1-git-send-email-spearce@spearce.org>
In earlier versions of this patch series this rule was used to match and serve objects/info/alternates and http-alternates. Later versions of the patch series explicitly called out match rules for those files, making this wildcard rule unnecessary.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org> ---
This probably should be squashed into the commit that introduces
this CGI script ("Git-aware CGI to provide dumb HTTP transport").http-backend.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/http-backend.c b/http-backend.c index 8e5c0a2..7900cda 100644 --- a/http-backend.c +++ b/http-backend.c @@ -558,7 +558,6 @@ static struct service_cmd { {"GET", "/objects/info/alternates$", get_text_file}, {"GET", "/objects/info/http-alternates$", get_text_file}, {"GET", "/objects/info/packs$", get_info_packs}, - {"GET", "/objects/info/[^/]*$", get_text_file}, {"GET", "/objects/[0-9a-f]{2}/[0-9a-f]{38}$", get_loose_object}, {"GET", "/objects/pack/pack-[0-9a-f]{40}\\.pack$", get_pack_file}, {"GET", "/objects/pack/pack-[0-9a-f]{40}\\.idx$", get_idx_file},
-- 1.6.5.2.295.g0d105