Merge branch 'jn/config-ignore-inaccessible' into maint
commitb1c418e155a86a1a6104c20e5424d847e516c8d7
authorJunio C Hamano <gitster@pobox.com>
Mon, 10 Jun 2013 00:06:55 +0000 (9 17:06 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 10 Jun 2013 00:06:56 +0000 (9 17:06 -0700)
treed6a2a3e4a380b93d97fc451035b6dc3691e6ef0a
parentfd500302096b5b4e45d78c14d6ea9a704f556a16
parent4698c8feb1bb56497215e0c10003dd046df352fa
Merge branch 'jn/config-ignore-inaccessible' into maint

A git daemon that starts as "root" and then drops privilege often
leaves $HOME set to that of the root user, which is unreadable by
the daemon process, which was diagnosed as a configuration error.

Make per-user configuration files that are inaccessible due to
EACCES as though these files do not exist to avoid this issue, as
the tightening which was originally meant as an additional security
has annoyed enough sysadmins.

* jn/config-ignore-inaccessible:
  config: allow inaccessible configuration under $HOME
dir.c
git-compat-util.h