attr: warn on inaccessible attribute files
authorJeff King <peff@peff.net>
Tue, 21 Aug 2012 06:31:52 +0000 (02:31 -0400)
committerJunio C Hamano <gitster@pobox.com>
Tue, 21 Aug 2012 21:47:07 +0000 (14:47 -0700)
commit11e50b2736f374f1608e0c5690405be1a74aa16d
tree2c923bca5acd02162d066d17b19a5d430e0e0b09
parent6966073102170171da4c25a4038bbd143fa6a75b
attr: warn on inaccessible attribute files

Just like config and gitignore files, we silently ignore
missing or inaccessible attribute files. An existent but
inaccessible file is probably a configuration error, so
let's warn the user.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
attr.c