For atomicity, <a href="git-apply.html">git-apply(1)</a> by default fails the whole patch and\r
does not touch the working tree when some of the hunks\r
do not apply. This option makes it apply\r
- the parts of the patch that are applicable, and send the\r
- rejected hunks to the standard output of the command.\r
+ the parts of the patch that are applicable, and leave the\r
+ rejected hunks in corresponding *.rej files.\r
</p>\r
</dd>\r
<dt>\r
</div>\r
<div id="footer">\r
<div id="footer-text">\r
-Last updated 26-Aug-2006 08:43:06 UTC\r
+Last updated 28-Aug-2006 07:18:32 UTC\r
</div>\r
</div>\r
</body>\r
For atomicity, gitlink:git-apply[1] by default fails the whole patch and
does not touch the working tree when some of the hunks
do not apply. This option makes it apply
- the parts of the patch that are applicable, and send the
- rejected hunks to the standard output of the command.
+ the parts of the patch that are applicable, and leave the
+ rejected hunks in corresponding *.rej files.
-z::
When showing the index information, do not munge paths,
<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
- [--reuseaddr] [--detach] [--pid-file=file] [directory…]</div></div>\r
+ [--reuseaddr] [--detach] [--pid-file=file]\r
+ [--user=user [--group=group]] [directory…]</div></div>\r
</div>\r
<h2>DESCRIPTION</h2>\r
<div class="sectionbody">\r
</p>\r
</dd>\r
<dt>\r
+--user=user, --group=group\r
+</dt>\r
+<dd>\r
+<p>\r
+ Change daemon's uid and gid before entering the service loop.\r
+ When only <tt>--user</tt> is given without <tt>--group</tt>, the\r
+ primary group ID for the user is used. The values of\r
+ the option are given to <tt>getpwnam(3)</tt> and <tt>getgrnam(3)</tt>\r
+ and numeric IDs are not supported.\r
+</p>\r
+<p>Giving these options is an error when used with <tt>--inetd</tt>; use\r
+the facility of inet daemon to achieve the same before spawning\r
+<tt>git-daemon</tt> if needed.</p>\r
+</dd>\r
+<dt>\r
<directory>\r
</dt>\r
<dd>\r
</div>\r
<div id="footer">\r
<div id="footer-text">\r
-Last updated 28-Jul-2006 05:14:02 UTC\r
+Last updated 28-Aug-2006 07:18:33 UTC\r
</div>\r
</div>\r
</body>\r
'git-daemon' [--verbose] [--syslog] [--inetd | --port=n] [--export-all]
[--timeout=n] [--init-timeout=n] [--strict-paths]
[--base-path=path] [--user-path | --user-path=path]
- [--reuseaddr] [--detach] [--pid-file=file] [directory...]
+ [--reuseaddr] [--detach] [--pid-file=file]
+ [--user=user [--group=group]] [directory...]
DESCRIPTION
-----------
--pid-file=file::
Save the process id in 'file'.
+--user=user, --group=group::
+ Change daemon's uid and gid before entering the service loop.
+ When only `--user` is given without `--group`, the
+ primary group ID for the user is used. The values of
+ the option are given to `getpwnam(3)` and `getgrnam(3)`
+ and numeric IDs are not supported.
++
+Giving these options is an error when used with `--inetd`; use
+the facility of inet daemon to achieve the same before spawning
+`git-daemon` if needed.
+
<directory>::
A directory to add to the whitelist of allowed directories. Unless
--strict-paths is specified this will also include subdirectories