summaryrefslogtreecommitdiff
path: root/src/odb.c
diff options
context:
space:
mode:
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;