diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-21 05:03:04 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-21 05:03:04 +0000 |
commit | 3b8d76c14c6a5f32d1f23f7e952dc4d859d75e9f (patch) | |
tree | 773f780ce433e99a5e25775d640778aa8b50d829 /include/git2/sys/repository.h | |
parent | Adding debian version 1.7.2+ds-1. (diff) | |
download | libgit2-3b8d76c14c6a5f32d1f23f7e952dc4d859d75e9f.tar.xz libgit2-3b8d76c14c6a5f32d1f23f7e952dc4d859d75e9f.zip |
Merging upstream version 1.8.1+ds.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'include/git2/sys/repository.h')
-rw-r--r-- | include/git2/sys/repository.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/git2/sys/repository.h b/include/git2/sys/repository.h index 892be66..080a404 100644 --- a/include/git2/sys/repository.h +++ b/include/git2/sys/repository.h @@ -9,6 +9,7 @@ #include "git2/common.h" #include "git2/types.h" +#include "git2/oid.h" /** * @file git2/sys/repository.h @@ -32,7 +33,11 @@ GIT_BEGIN_DECL * @param out The blank repository * @return 0 on success, or an error code */ +#ifdef GIT_EXPERIMENTAL_SHA256 +GIT_EXTERN(int) git_repository_new(git_repository **out, git_oid_t oid_type); +#else GIT_EXTERN(int) git_repository_new(git_repository **out); +#endif /** * Reset all the internal state in a repository. |