summaryrefslogtreecommitdiff
path: root/src/odb.c
diff options
context:
space:
mode:
authorRussell Belfer <arrbee@arrbee.com>2012-03-19 17:49:46 -0700
committerRussell Belfer <arrbee@arrbee.com>2012-03-19 17:49:46 -0700
commit4aa7de15159b3edfcb23173a4a463606f1bfdd19 (patch)
treeec347589a2f3fdbb0bee1250e4c4df57702bfb3d /src/odb.c
parent7c7ff7d11e2d22f7b9c7f8152f5c58dde37ac207 (diff)
downloadlibgit2-4aa7de15159b3edfcb23173a4a463606f1bfdd19.tar.gz
Convert indexer, notes, sha1_lookup, and signature
More files moved to new error handling style.
Diffstat (limited to 'src/odb.c')
-rw-r--r--src/odb.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/odb.c b/src/odb.c
index f68d13509..b615cc4f4 100644
--- a/src/odb.c
+++ b/src/odb.c
@@ -541,6 +541,10 @@ int git_odb_read(git_odb_object **out, git_odb *db, const git_oid *id)
error = b->read(&raw.data, &raw.len, &raw.type, b, id);
}
+ /* TODO: If no backends are configured, this returns GIT_ENOTFOUND but
+ * will never have called giterr_set().
+ */
+
if (error && error != GIT_EPASSTHROUGH)
return error;