http-backend: respect GIT_NAMESPACE with dumb clients
commit6130f86deabe15c78d966b3588f47dbd653ec4fa
authorJohn Koleszar <jkoleszar@google.com>
Wed, 10 Apr 2013 00:55:08 +0000 (9 17:55 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 10 Apr 2013 01:06:44 +0000 (9 18:06 -0700)
tree92d43a783f92f56229b2f32cc7efbfe65a1c6a3f
parent19534ee8a7616922082a23db5f9bf0e7dc0e6fd4
http-backend: respect GIT_NAMESPACE with dumb clients

Filter the list of refs returned via the dumb HTTP protocol according
to the active namespace, consistent with other clients of the
upload-pack service.

Signed-off-by: John Koleszar <jkoleszar@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
http-backend.c
t/lib-httpd/apache.conf
t/t5551-http-fetch.sh