]> git.ipfire.org Git - thirdparty/git.git/commit - daemon.c
--base-path-relaxed option
authorJens Axboe <jens.axboe@oracle.com>
Fri, 27 Jul 2007 21:00:29 +0000 (14:00 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 1 Aug 2007 07:37:23 +0000 (00:37 -0700)
commit73a7a65663223d08d8cabac8d873de21b7e9678d
tree6eb463a52ebe81db91f2d7a2b7b88a8f32a692ae
parent12ace0b20de33d57100435a60e09bb3971420003
--base-path-relaxed option

I switched git.kernel.dk to --base-path a few minutes ago, to get rid of
a /data/git postfix in the posted urls. But transitioning is tricky,
since now all old paths will fail miserably.

So I added this --base-path-relaxed option, that will make git-daemon
try the absolute path without prefixing --base-path before giving up.
With this in place and --base-path-relaxed added, both my new url of

    git://git.kernel.dk/linux-2.6-block.git

and the old

    git://git.kernel.dk/data/git/linux-2.6-block.git

work fine.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-daemon.txt
daemon.c