diff options
author | Vicent Marti <tanoku@gmail.com> | 2011-06-19 12:48:16 +0200 |
---|---|---|
committer | Vicent Marti <tanoku@gmail.com> | 2011-06-19 12:50:45 +0200 |
commit | 984ed6b6bef18ca514f8f0a0b74ed76d9d8b26a3 (patch) | |
tree | 5a9cf9f3c5f2cc0f0dde9e12815792a357b6b67d /include/git2/errors.h | |
parent | bfd5e3e2a2f9793e4c24d0ac1c7f3e350a433330 (diff) | |
download | libgit2-984ed6b6bef18ca514f8f0a0b74ed76d9d8b26a3.tar.gz |
odb: Add GIT_EPASSTHROUGH
Allows a custom user backend to passthrough one of the callbacks. Used
for e.g. caching backends.
Diffstat (limited to 'include/git2/errors.h')
-rw-r--r-- | include/git2/errors.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/git2/errors.h b/include/git2/errors.h index 3ed5cd680..09b1f26bb 100644 --- a/include/git2/errors.h +++ b/include/git2/errors.h @@ -122,6 +122,9 @@ typedef enum { /** The given short oid is ambiguous */ GIT_EAMBIGUOUSOIDPREFIX = -29, + + /** Skip and passthrough the given ODB backend */ + GIT_EPASSTHROUGH = -30, } git_error; /** |