doc: clarify that "git daemon --user=<user>" option does not export HOME=~user
commit714d25868f156e0969eb8a47e6a1bf3df9c17a5d
authorJunio C Hamano <gitster@pobox.com>
Fri, 12 Apr 2013 16:08:31 +0000 (12 09:08 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 12 Apr 2013 17:29:06 +0000 (12 10:29 -0700)
treeca4629b5a07d189668e161270dab644a10c1c558
parent2137ce01f83d254e4917c107901a5a04f61e8c16
doc: clarify that "git daemon --user=<user>" option does not export HOME=~user

The fact that we don't set $HOME may confuse admins who expect
~<user>/.gitconfig to be used, because that is not what we try to
read.  And worse, since 96b9e0e3, a git-daemon started by root is
likely to fail to run at all, as the user we switch to generally
cannot read ~root.

Signed-off-by: Jeff King <peff@peff.net>
Helped-by: W. Trevor King <wking@tremily.us>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-daemon.txt