Commit 30e629a0 by Edward Thomson

attr: always return errors

parent ef6d0722
......@@ -309,7 +309,8 @@ static int attr_setup(git_repository *repo, git_attr_session *attr_session)
if (error == 0)
error = preload_attr_file(
repo, attr_session, GIT_ATTR_FILE__FROM_FILE, NULL, sys.ptr);
else if (error != GIT_ENOTFOUND)
if (error != GIT_ENOTFOUND)
return error;
git_buf_free(&sys);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment