Autogenerated HTML docs for v1.3.3-g16a4
[git.git] / git-daemon.html
index 7aecf64..ae1dea8 100644 (file)
@@ -3,7 +3,7 @@
 <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
@@ -266,14 +266,17 @@ git-daemon(1) Manual Page
 <h2>NAME</h2>\r
 <div class="sectionbody">\r
 <p>git-daemon -\r
-   A really simple server for git repositories.\r
+   A really simple server for git repositories\r
 </p>\r
 </div>\r
 </div>\r
 <h2>SYNOPSIS</h2>\r
 <div class="sectionbody">\r
-<p><em>git-daemon</em> [--verbose] [--syslog] [--inetd | --port=n] [--export-all]\r
-             [--timeout=n] [--init-timeout=n] [--strict-paths] [directory&#8230;]</p>\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] [--user-path | --user-path=path]\r
+             [directory&#8230;]</div></div>\r
 </div>\r
 <h2>DESCRIPTION</h2>\r
 <div class="sectionbody">\r
@@ -281,13 +284,13 @@ git-daemon(1) Manual Page
 aka 9418. It waits for a connection, and will just execute "git-upload-pack"\r
 when it gets one.</p>\r
 <p>It's careful in that there's a magic request-line that gives the command and\r
-what directory to upload, and it verifies that the directory is ok.</p>\r
+what directory to upload, and it verifies that the directory is OK.</p>\r
 <p>It verifies that the directory has the magic file "git-daemon-export-ok", and\r
 it will refuse to export any git directory that hasn't explicitly been marked\r
 for export this way (unless the <em>--export-all</em> parameter is specified). If you\r
 pass some directory paths as <em>git-daemon</em> arguments, you can further restrict\r
 the offers to a whitelist comprising of those.</p>\r
-<p>This is ideally suited for read-only updates, ie pulling from git repositories.</p>\r
+<p>This is ideally suited for read-only updates, i.e., pulling from git repositories.</p>\r
 </div>\r
 <h2>OPTIONS</h2>\r
 <div class="sectionbody">\r
@@ -304,6 +307,18 @@ the offers to a whitelist comprising of those.</p>
 </p>\r
 </dd>\r
 <dt>\r
+--base-path\r
+</dt>\r
+<dd>\r
+<p>\r
+        Remap all the path requests as relative to the given path.\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>.\r
+</p>\r
+</dd>\r
+<dt>\r
 --export-all\r
 </dt>\r
 <dd>\r
@@ -359,6 +374,20 @@ the offers to a whitelist comprising of those.</p>
 </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
@@ -393,7 +422,7 @@ the offers to a whitelist comprising of those.</p>
 </div>\r
 <div id="footer">\r
 <div id="footer-text">\r
-Last updated 27-Dec-2005 00:15:59 PDT\r
+Last updated 04-Jun-2006 07:24:23 UTC\r
 </div>\r
 </div>\r
 </body>\r