Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/attr.c
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2012-08-21 10:26:07 +0400
committerJunio C Hamano <gitster@pobox.com>2012-08-22 01:46:47 +0400
commit6966073102170171da4c25a4038bbd143fa6a75b (patch)
treef68b9b41c6d15cbccf8da69bd703e4272e607aae /attr.c
parentba8bd8300a544959159f6bd3a7e03ac54f85ea3a (diff)
gitignore: report access errors of exclude files
When we try to access gitignore files, we check for their existence with a call to "access". We silently ignore missing files. However, if a file is not readable, this may be a configuration error; let's warn the user. For $GIT_DIR/info/excludes or core.excludesfile, we can just use access_or_warn. However, for per-directory files we actually try to open them, so we must add a custom warning. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'attr.c')
0 files changed, 0 insertions, 0 deletions