Allow absolute paths in repo paths, treat them as relative.
commit4d8ba7788d10e62928404b0272de241580e00e92
authorTommi Virtanen <tv@eagain.net>
Wed, 19 Mar 2008 19:49:47 +0000 (19 21:49 +0200)
committerTommi Virtanen <tv@eagain.net>
Wed, 19 Mar 2008 19:55:19 +0000 (19 21:55 +0200)
tree7f03923a420c81c8a78930d574cc8a7283248dae
parentf839f889b607c9920659516959795859aab0a86e
Allow absolute paths in repo paths, treat them as relative.

As the only convenient way to use non-standard SSH ports with git is
via the ssh://user@host:port/path syntax, and that syntax forces
absolute urls, just force convert absolute paths to relative paths;
you'll never really want absolute paths via gitosis, anyway.
gitosis/serve.py
gitosis/test/test_serve.py