Merge branch 'jk/config-warn-on-inaccessible-paths' into maint
authorJunio C Hamano <gitster@pobox.com>
Tue, 18 Sep 2012 21:24:06 +0000 (14:24 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 18 Sep 2012 21:24:06 +0000 (14:24 -0700)
The attribute system may be asked for a path that itself or its
leading directories no longer exists in the working tree, and it is
fine if we cannot open .gitattribute file in such a case. Failure
to open per-directory .gitattributes with error status other than
ENOENT and ENOTDIR should be diagnosed.

* jk/config-warn-on-inaccessible-paths:
attr: failure to open a .gitattributes file is OK with ENOTDIR
warn_on_inaccessible(): a helper to warn on inaccessible paths
attr: warn on inaccessible attribute files
gitignore: report access errors of exclude files
config: warn on inaccessible files

1  2 
builtin/config.c
Simple merge