Skip to content

Commit ae7c85d

Browse files
committed
Merge pull request #276 from dscho/issue-0xff
mingw: Suppress warning that <commit>:.gitattributes does not exist
2 parents 3cbfd16 + 2ae7e02 commit ae7c85d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

attr.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ static struct attr_stack *read_attr_from_file(const char *path, int macro_ok)
375375
int lineno = 0;
376376

377377
if (!fp) {
378-
if (errno != ENOENT && errno != ENOTDIR)
378+
if (errno != ENOENT && errno != ENOTDIR && errno != EINVAL)
379379
warn_on_inaccessible(path);
380380
return NULL;
381381
}

0 commit comments

Comments
 (0)