summaryrefslogtreecommitdiff
path: root/Documentation/git-daemon.txt
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2005-11-21 09:21:18 (GMT)
committerJunio C Hamano <junkio@cox.net>2005-11-21 21:47:00 (GMT)
commitce335fe04f32261e0204280281989ffbb5d990c6 (patch)
treeeeb50e70a0239e4ad908a6aeb99d060b61c9e0d2 /Documentation/git-daemon.txt
parent4dbd13527933261076bbed1a5a2daa60a752d096 (diff)
downloadgit-ce335fe04f32261e0204280281989ffbb5d990c6.zip
git-ce335fe04f32261e0204280281989ffbb5d990c6.tar.gz
git-ce335fe04f32261e0204280281989ffbb5d990c6.tar.bz2
daemon: further tweaks.
- Do validation only on canonicalized paths - Run upload-pack with "." as repository argument Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'Documentation/git-daemon.txt')
-rw-r--r--Documentation/git-daemon.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/git-daemon.txt b/Documentation/git-daemon.txt
index 972e0e1..2a8f371 100644
--- a/Documentation/git-daemon.txt
+++ b/Documentation/git-daemon.txt
@@ -8,7 +8,7 @@ git-daemon - A really simple server for git repositories.
SYNOPSIS
--------
'git-daemon' [--verbose] [--syslog] [--inetd | --port=n] [--export-all]
- [--timeout=n] [--init-timeout=n] [directory...]
+ [--timeout=n] [--init-timeout=n] [--strict-paths] [directory...]
DESCRIPTION
-----------
@@ -29,7 +29,7 @@ This is ideally suited for read-only updates, ie pulling from git repositories.
OPTIONS
-------
-+--strict-paths::
+--strict-paths::
Match paths exactly (i.e. don't allow "/foo/repo" when the real path is
"/foo/repo.git" or "/foo/repo/.git") and don't do user-relative paths.
git-daemon will refuse to start when this option is enabled and no