summaryrefslogtreecommitdiffstats
path: root/git-daemon.txt
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2013-04-18 12:37:53 -0700
committerJunio C Hamano <gitster@pobox.com>2013-04-18 12:37:53 -0700
commitea3b7522a07a46e55d4cee4aa64f7f1459229f0e (patch)
treefb60d043743694196f37cad6152e150a4367a5fa /git-daemon.txt
parent1575c208eda44b1e6c104caef43e5783f9bcd1a9 (diff)
downloadgit-htmldocs-ea3b7522a07a46e55d4cee4aa64f7f1459229f0e.tar.gz
Autogenerated HTML docs for v1.8.2.1-478-g1468a
Diffstat (limited to 'git-daemon.txt')
-rw-r--r--git-daemon.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/git-daemon.txt b/git-daemon.txt
index 77da56413..bfb106ccc 100644
--- a/git-daemon.txt
+++ b/git-daemon.txt
@@ -147,6 +147,13 @@ OPTIONS
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.
++
+Like many programs that switch user id, the daemon does not reset
+environment variables such as `$HOME` when it runs git programs,
+e.g. `upload-pack` and `receive-pack`. When using this option, you
+may also want to set and export `HOME` to point at the home
+directory of `<user>` before starting the daemon, and make sure any
+Git configuration files in that directory are readable by `<user>`.
--enable=<service>::
--disable=<service>::