summaryrefslogtreecommitdiffstats
path: root/git-daemon.html
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2022-07-27 09:48:21 -0700
committerJunio C Hamano <gitster@pobox.com>2022-07-27 09:48:21 -0700
commita85030a62a0cfffe9f4c52b89e611a498eaba04b (patch)
tree2f760cef70650f12664cf0a41239e07b99e28986 /git-daemon.html
parent6bba246d46431b32c3be3676fb727605cf6d2847 (diff)
downloadgit-htmldocs-a85030a62a0cfffe9f4c52b89e611a498eaba04b.tar.gz
Autogenerated HTML docs for v2.37.1-261-g15b17e
Diffstat (limited to 'git-daemon.html')
-rw-r--r--git-daemon.html25
1 files changed, 13 insertions, 12 deletions
diff --git a/git-daemon.html b/git-daemon.html
index deeb71d86..11074ebda 100644
--- a/git-daemon.html
+++ b/git-daemon.html
@@ -4,7 +4,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8" />
-<meta name="generator" content="AsciiDoc 10.1.4" />
+<meta name="generator" content="AsciiDoc 10.2.0" />
<title>git-daemon(1)</title>
<style type="text/css">
/* Shared CSS for AsciiDoc xhtml11 and html5 backends */
@@ -776,8 +776,8 @@ that service if it is enabled.</p></div>
<div class="paragraph"><p>It verifies that the directory has the magic file "git-daemon-export-ok", and
it will refuse to export any Git directory that hasn&#8217;t explicitly been marked
for export this way (unless the <code>--export-all</code> parameter is specified). If you
-pass some directory paths as <em>git daemon</em> arguments, you can further restrict
-the offers to a whitelist comprising of those.</p></div>
+pass some directory paths as <em>git daemon</em> arguments, the offers are limited to
+repositories within those directories.</p></div>
<div class="paragraph"><p>By default, only <code>upload-pack</code> service is enabled, which serves
<em>git fetch-pack</em> and <em>git ls-remote</em> clients, which are invoked
from <em>git fetch</em>, <em>git pull</em>, and <em>git clone</em>.</p></div>
@@ -798,7 +798,7 @@ Git repositories.</p></div>
Match paths exactly (i.e. don&#8217;t allow "/foo/repo" when the real path is
"/foo/repo.git" or "/foo/repo/.git") and don&#8217;t do user-relative paths.
<em>git daemon</em> will refuse to start when this option is enabled and no
- whitelist is specified.
+ directory arguments are provided.
</p>
</dd>
<dt class="hdlist1">
@@ -836,7 +836,7 @@ Git repositories.</p></div>
%IP for the server&#8217;s IP address, %P for the port number,
and %D for the absolute path of the named repository.
After interpolation, the path is validated against the directory
- whitelist.
+ list.
</p>
</dd>
<dt class="hdlist1">
@@ -1105,9 +1105,11 @@ it declines the service.</p></div>
</dt>
<dd>
<p>
- A directory to add to the whitelist of allowed directories. Unless
- --strict-paths is specified this will also include subdirectories
- of each named directory.
+ The remaining arguments provide a list of directories. If any
+ directories are specified, then the <code>git-daemon</code> process will
+ serve a requested directory only if it is contained in one of
+ these directories. If <code>--strict-paths</code> is specified, then the
+ requested directory must match one of these directories exactly.
</p>
</dd>
</dl></div>
@@ -1182,9 +1184,8 @@ git 9418/tcp # Git Version Control System</code></pre
<dd>
<p>
To set up <em>git daemon</em> as an inetd service that handles any
- repository under the whitelisted set of directories, /pub/foo
- and /pub/bar, place an entry like the following into
- /etc/inetd all on one line:
+ repository within <code>/pub/foo</code> or <code>/pub/bar</code>, place an entry like
+ the following into <code>/etc/inetd</code> all on one line:
</p>
<div class="listingblock">
<div class="content">
@@ -1280,7 +1281,7 @@ services are performed.</p></div>
<div id="footer">
<div id="footer-text">
Last updated
- 2020-03-10 15:02:33 PDT
+ 2022-07-27 09:46:08 PDT
</div>
</div>
</body>