Merge pull request #276 from dscho/issue-0xff

mingw: Suppress warning that <commit>:.gitattributes does not exist
This commit is contained in:
Johannes Schindelin
2015-10-18 13:45:46 +02:00

2
attr.c
View File

@@ -375,7 +375,7 @@ static struct attr_stack *read_attr_from_file(const char *path, int macro_ok)
int lineno = 0;
if (!fp) {
if (errno != ENOENT && errno != ENOTDIR)
if (errno != ENOENT && errno != ENOTDIR && errno != EINVAL)
warn_on_inaccessible(path);
return NULL;
}