path: root/Documentation/git-daemon.txt
diff options
authorJens Axboe <>2007-07-27 21:00:29 (GMT)
committerJunio C Hamano <>2007-08-01 07:37:23 (GMT)
commit73a7a65663223d08d8cabac8d873de21b7e9678d (patch)
tree6eb463a52ebe81db91f2d7a2b7b88a8f32a692ae /Documentation/git-daemon.txt
parent12ace0b20de33d57100435a60e09bb3971420003 (diff)
--base-path-relaxed option
I switched 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:// and the old git:// work fine. Signed-off-by: Jens Axboe <> Signed-off-by: Junio C Hamano <>
Diffstat (limited to 'Documentation/git-daemon.txt')
1 files changed, 6 insertions, 0 deletions
diff --git a/Documentation/git-daemon.txt b/Documentation/git-daemon.txt
index 4b30b18..f902161 100644
--- a/Documentation/git-daemon.txt
+++ b/Documentation/git-daemon.txt
@@ -54,6 +54,12 @@ OPTIONS
'git://', `git-daemon` will interpret the path
as '/srv/git/hello.git'.
+ If --base-path is enabled and repo lookup fails, with this option
+ `git-daemon` will attempt to lookup without prefixing the base path.
+ This is useful for switching to --base-path usage, while still
+ allowing the old paths.
To support virtual hosting, an interpolated path template can be
used to dynamically construct alternate paths. The template