Commit 4c67e2e9 by Shawn O. Pearce

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>
parent 064301cc
...@@ -502,6 +502,6 @@ int git_odb__read_loose(git_obj *out, git_odb *db, const git_oid *id) ...@@ -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;
} }
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