diff options
| author | Edward Thomson <ethomson@edwardthomson.com> | 2023-04-10 09:47:05 +0100 |
|---|---|---|
| committer | Edward Thomson <ethomson@edwardthomson.com> | 2023-04-10 14:21:16 +0100 |
| commit | be484d355b1b41748689fd29381bdcdcbd4c45bb (patch) | |
| tree | 953fc98f4289012fcf6155da8d934ffd80889732 /include | |
| parent | 87727409b5a497f0419b5135dff441b7a6213f67 (diff) | |
| download | libgit2-be484d355b1b41748689fd29381bdcdcbd4c45bb.tar.gz | |
midx: support sha256
Diffstat (limited to 'include')
| -rw-r--r-- | include/git2/sys/midx.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/git2/sys/midx.h b/include/git2/sys/midx.h index e3d749829..3a87484d2 100644 --- a/include/git2/sys/midx.h +++ b/include/git2/sys/midx.h @@ -29,7 +29,11 @@ GIT_BEGIN_DECL */ GIT_EXTERN(int) git_midx_writer_new( git_midx_writer **out, - const char *pack_dir); + const char *pack_dir +#ifdef GIT_EXPERIMENTAL_SHA256 + , git_oid_t oid_type +#endif + ); /** * Free the multi-pack-index writer and its resources. |
