summaryrefslogtreecommitdiff
path: root/src/libgit2/mwindow.h
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2022-07-11 14:11:15 -0400
committerEdward Thomson <ethomson@edwardthomson.com>2022-07-11 21:36:49 -0400
commit5e44529d206936336e568725aec4fb5fe64138b7 (patch)
treea4ca6d441371d7b146bae5d123100633900de3a7 /src/libgit2/mwindow.h
parent73deea7e0cef7761588df25c396c156ae901725a (diff)
downloadlibgit2-ethomson/sha256_pack.tar.gz
pack: support SHA256 in packfilesethomson/sha256_pack
Diffstat (limited to 'src/libgit2/mwindow.h')
-rw-r--r--src/libgit2/mwindow.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/libgit2/mwindow.h b/src/libgit2/mwindow.h
index e32ab99d4..8e6df2613 100644
--- a/src/libgit2/mwindow.h
+++ b/src/libgit2/mwindow.h
@@ -48,7 +48,10 @@ void git_mwindow_close(git_mwindow **w_cursor);
extern int git_mwindow_global_init(void);
struct git_pack_file; /* just declaration to avoid cyclical includes */
-int git_mwindow_get_pack(struct git_pack_file **out, const char *path);
+int git_mwindow_get_pack(
+ struct git_pack_file **out,
+ const char *path,
+ git_oid_t oid_type);
int git_mwindow_put_pack(struct git_pack_file *pack);
#endif