summaryrefslogtreecommitdiff
path: root/git-cvsserver.perl
diff options
context:
space:
mode:
authorJosh Triplett <josh@joshtriplett.org>2011-07-08 23:13:32 (GMT)
committerJunio C Hamano <gitster@pobox.com>2011-07-11 16:35:38 (GMT)
commit6b01ecfe22f0b6ccb9665cd8d85d78a381fecffc (patch)
tree19812469f136c477c63fa044ddd803e2ef3c856c /git-cvsserver.perl
parenta1bea2c1fc5e5243e873919248940dd5fff593a4 (diff)
downloadgit-6b01ecfe22f0b6ccb9665cd8d85d78a381fecffc.zip
git-6b01ecfe22f0b6ccb9665cd8d85d78a381fecffc.tar.gz
git-6b01ecfe22f0b6ccb9665cd8d85d78a381fecffc.tar.bz2
ref namespaces: Support remote repositories via upload-pack and receive-pack
Change upload-pack and receive-pack to use the namespace-prefixed refs when working with the repository, and use the unprefixed refs when talking to the client, maintaining the masquerade. This allows clone, pull, fetch, and push to work with a suitably configured GIT_NAMESPACE. receive-pack advertises refs outside the current namespace as .have refs (as it currently does for refs in alternates), so that the client can use them to minimize data transfer but will otherwise ignore them. With appropriate configuration, this also allows http-backend to expose namespaces as multiple repositories with different paths. This only requires setting GIT_NAMESPACE, which http-backend passes through to upload-pack and receive-pack. Signed-off-by: Josh Triplett <josh@joshtriplett.org> Signed-off-by: Jamey Sharp <jamey@minilop.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-cvsserver.perl')
0 files changed, 0 insertions, 0 deletions