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

mingw: Suppress warning that <commit>:.gitattributes does not exist
This commit is contained in:
Johannes Schindelin committed 2016-01-05 14:48:35 +01:00
commit 97d2c570bc
1 file changed
+1 -1
+1 -1
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;
}