diff options
author | Junio C Hamano <junkio@cox.net> | 2005-11-21 01:21:18 -0800 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2005-11-21 13:47:00 -0800 |
commit | ce335fe04f32261e0204280281989ffbb5d990c6 (patch) | |
tree | eeb50e70a0239e4ad908a6aeb99d060b61c9e0d2 /Documentation/git-daemon.txt | |
parent | 4dbd13527933261076bbed1a5a2daa60a752d096 (diff) | |
download | git-ce335fe04f32261e0204280281989ffbb5d990c6.tar.gz |
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.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/git-daemon.txt b/Documentation/git-daemon.txt index 972e0e1571..2a8f371ec9 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 |