mirror of
https://git.proxmox.com/git/libgit2
synced 2025-08-14 02:36:12 +00:00
Stop returning incorrect error message
This commit is contained in:
parent
57f5d8dca5
commit
28abb187c4
@ -177,7 +177,7 @@ static int loose_parse_oid(git_oid *oid, git_buf *file_content)
|
||||
|
||||
corrupted:
|
||||
giterr_set(GITERR_REFERENCE, "Corrupted loose reference file");
|
||||
return GIT_ENOTFOUND;
|
||||
return -1;
|
||||
}
|
||||
|
||||
static git_ref_t loose_guess_rtype(const git_buf *full_path)
|
||||
|
Loading…
Reference in New Issue
Block a user