summaryrefslogtreecommitdiff
path: root/include/git2/sys/midx.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/git2/sys/midx.h')
-rw-r--r--include/git2/sys/midx.h6
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.