<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">\r
<head>\r
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\r
-<meta name="generator" content="AsciiDoc 7.0.1" />\r
+<meta name="generator" content="AsciiDoc 7.0.2" />\r
<style type="text/css">\r
/* Debug borders */\r
p, li, dt, dd, div, pre, h1, h2, h3, h4, h5, h6 {\r
<div class="verseblock">\r
<div class="content"><em>git-daemon</em> [--verbose] [--syslog] [--inetd | --port=n] [--export-all]\r
[--timeout=n] [--init-timeout=n] [--strict-paths]\r
- [--base-path=path] [directory…]</div></div>\r
+ [--base-path=path] [--user-path | --user-path=path]\r
+ [directory…]</div></div>\r
</div>\r
<h2>DESCRIPTION</h2>\r
<div class="sectionbody">\r
This is sort of "GIT root" - if you run git-daemon with\r
<em>--base-path=/srv/git</em> on example.com, then if you later try to pull\r
<em>git://example.com/hello.git</em>, <tt>git-daemon</tt> will interpret the path\r
- as <em>/srv/git/hello.git</em>. Home directories (the <em>~login</em> notation)\r
- access is disabled.\r
+ as <em>/srv/git/hello.git</em>.\r
</p>\r
</dd>\r
<dt>\r
</p>\r
</dd>\r
<dt>\r
+--user-path, --user-path=path\r
+</dt>\r
+<dd>\r
+<p>\r
+ Allow ~user notation to be used in requests. When\r
+ specified with no parameter, requests to\r
+ git://host/~alice/foo is taken as a request to access\r
+ <em>foo</em> repository in the home directory of user <tt>alice</tt>.\r
+ If <tt>--user-path=path</tt> is specified, the same request is\r
+ taken as a request to access <tt>path/foo</tt> repository in\r
+ the home directory of user <tt>alice</tt>.\r
+</p>\r
+</dd>\r
+<dt>\r
--verbose\r
</dt>\r
<dd>\r
</div>\r
<div id="footer">\r
<div id="footer-text">\r
-Last updated 08-Jan-2006 16:53:07 PDT\r
+Last updated 06-Feb-2006 08:01:58 UTC\r
</div>\r
</div>\r
</body>\r
[verse]
'git-daemon' [--verbose] [--syslog] [--inetd | --port=n] [--export-all]
[--timeout=n] [--init-timeout=n] [--strict-paths]
- [--base-path=path] [directory...]
+ [--base-path=path] [--user-path | --user-path=path]
+ [directory...]
DESCRIPTION
-----------
This is sort of "GIT root" - if you run git-daemon with
'--base-path=/srv/git' on example.com, then if you later try to pull
'git://example.com/hello.git', `git-daemon` will interpret the path
- as '/srv/git/hello.git'. Home directories (the '~login' notation)
- access is disabled.
+ as '/srv/git/hello.git'.
--export-all::
Allow pulling from all directories that look like GIT repositories
Log to syslog instead of stderr. Note that this option does not imply
--verbose, thus by default only error conditions will be logged.
+--user-path, --user-path=path::
+ Allow ~user notation to be used in requests. When
+ specified with no parameter, requests to
+ git://host/~alice/foo is taken as a request to access
+ 'foo' repository in the home directory of user `alice`.
+ If `--user-path=path` is specified, the same request is
+ taken as a request to access `path/foo` repository in
+ the home directory of user `alice`.
+
--verbose::
Log details about the incoming connections and requested files.