mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-06 21:08:56 +00:00
Change git_odb__read_packed to return ENOTFOUND until implemented
We didn't search for the object, so we cannot possibly promise it to the caller of git_odb_read(). Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
This commit is contained in:
parent
064301cc35
commit
4c67e2e95f
@ -502,6 +502,6 @@ int git_odb__read_loose(git_obj *out, git_odb *db, const git_oid *id)
|
|||||||
|
|
||||||
int git_odb__read_packed(git_obj *out, git_odb *db, const git_oid *id)
|
int git_odb__read_packed(git_obj *out, git_odb *db, const git_oid *id)
|
||||||
{
|
{
|
||||||
return GIT_SUCCESS;
|
return GIT_ENOTFOUND;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user