git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v5.1 1/3] http-backend: Remove pointless objects/info/* service entry
@ 2009-11-05  1:16 Shawn O. Pearce
  2009-11-05  1:16 ` [PATCH v5.1 2/3] http-backend: Use http.getanyfile to disable dumb HTTP serving Shawn O. Pearce
  2009-11-05  1:16 ` [PATCH v5.1 3/3] http-backend: Test configuration options Shawn O. Pearce
  0 siblings, 2 replies; 3+ messages in thread
From: Shawn O. Pearce @ 2009-11-05  1:16 UTC (permalink / raw)
  To: git

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

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-11-05  1:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-05  1:16 [PATCH v5.1 1/3] http-backend: Remove pointless objects/info/* service entry Shawn O. Pearce
2009-11-05  1:16 ` [PATCH v5.1 2/3] http-backend: Use http.getanyfile to disable dumb HTTP serving Shawn O. Pearce
2009-11-05  1:16 ` [PATCH v5.1 3/3] http-backend: Test configuration options Shawn O. Pearce

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).