mirror of
https://git.proxmox.com/git/libgit2
synced 2025-06-23 12:05:21 +00:00
attr: always return errors
This commit is contained in:
parent
ef6d072236
commit
30e629a073
@ -309,7 +309,8 @@ static int attr_setup(git_repository *repo, git_attr_session *attr_session)
|
|||||||
if (error == 0)
|
if (error == 0)
|
||||||
error = preload_attr_file(
|
error = preload_attr_file(
|
||||||
repo, attr_session, GIT_ATTR_FILE__FROM_FILE, NULL, sys.ptr);
|
repo, attr_session, GIT_ATTR_FILE__FROM_FILE, NULL, sys.ptr);
|
||||||
else if (error != GIT_ENOTFOUND)
|
|
||||||
|
if (error != GIT_ENOTFOUND)
|
||||||
return error;
|
return error;
|
||||||
|
|
||||||
git_buf_free(&sys);
|
git_buf_free(&sys);
|
||||||
|
Loading…
Reference in New Issue
Block a user