diff options
| author | Russell Belfer <arrbee@arrbee.com> | 2012-03-19 17:49:46 -0700 |
|---|---|---|
| committer | Russell Belfer <arrbee@arrbee.com> | 2012-03-19 17:49:46 -0700 |
| commit | 4aa7de15159b3edfcb23173a4a463606f1bfdd19 (patch) | |
| tree | ec347589a2f3fdbb0bee1250e4c4df57702bfb3d /src/odb.c | |
| parent | 7c7ff7d11e2d22f7b9c7f8152f5c58dde37ac207 (diff) | |
| download | libgit2-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.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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; |
