Skip to content

Commit

Permalink
Merge pull request msysgit#276 from dscho/issue-0xff
Browse files Browse the repository at this point in the history
mingw: Suppress warning that <commit>:.gitattributes does not exist
  • Loading branch information
dscho committed Sep 18, 2015
2 parents 6a9dfb1 + f883c34 commit ced3e0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion attr.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit ced3e0b

Please sign in to comment.