diff options
| author | Shawn O. Pearce <spearce@spearce.org> | 2008-12-30 22:25:30 -0800 |
|---|---|---|
| committer | Shawn O. Pearce <spearce@spearce.org> | 2008-12-30 22:25:30 -0800 |
| commit | 4c67e2e95f0bb6f0e214bd7bf052f914d365f129 (patch) | |
| tree | ae5ceb4b269403c6d1653c7bb32e71ede7398892 /src | |
| parent | 064301cc3528ec3bccd07dafe9af824d87a50dba (diff) | |
| download | libgit2-4c67e2e95f0bb6f0e214bd7bf052f914d365f129.tar.gz | |
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>
Diffstat (limited to 'src')
| -rw-r--r-- | src/odb.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; } |
