diff options
Diffstat (limited to 'include/git2')
-rw-r--r-- | include/git2/odb_backend.h | 2 | ||||
-rw-r--r-- | include/git2/sys/odb_backend.h | 5 |
2 files changed, 5 insertions, 2 deletions
diff --git a/include/git2/odb_backend.h b/include/git2/odb_backend.h index 4d0559ec0..699f96fb8 100644 --- a/include/git2/odb_backend.h +++ b/include/git2/odb_backend.h @@ -171,8 +171,6 @@ struct git_odb_stream { unsigned int mode; void *hash_ctx; - git_oid_t oid_type; - git_object_size_t declared_size; git_object_size_t received_bytes; diff --git a/include/git2/sys/odb_backend.h b/include/git2/sys/odb_backend.h index c42abd370..2d6458bf6 100644 --- a/include/git2/sys/odb_backend.h +++ b/include/git2/sys/odb_backend.h @@ -26,6 +26,11 @@ GIT_BEGIN_DECL */ struct git_odb_backend { unsigned int version; + +#ifdef GIT_EXPERIMENTAL_SHA256 + git_oid_t oid_type; +#endif + git_odb *odb; /* read and read_prefix each return to libgit2 a buffer which |