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:
Shawn O. Pearce 2008-12-30 22:25:30 -08:00
parent 064301cc35
commit 4c67e2e95f

View File

@ -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)
{
return GIT_SUCCESS;
return GIT_ENOTFOUND;
}