about summary refs log tree commit diff
path: root/third_party/git/bundle.h
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/git/bundle.h')
-rw-r--r--third_party/git/bundle.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/third_party/git/bundle.h b/third_party/git/bundle.h
index 37c37d7f653c..f9e2d1c8ef54 100644
--- a/third_party/git/bundle.h
+++ b/third_party/git/bundle.h
@@ -1,6 +1,7 @@
 #ifndef BUNDLE_H
 #define BUNDLE_H
 
+#include "strvec.h"
 #include "cache.h"
 
 struct ref_list {
@@ -12,14 +13,17 @@ struct ref_list {
 };
 
 struct bundle_header {
+	unsigned version;
 	struct ref_list prerequisites;
 	struct ref_list references;
+	const struct git_hash_algo *hash_algo;
 };
 
 int is_bundle(const char *path, int quiet);
 int read_bundle_header(const char *path, struct bundle_header *header);
 int create_bundle(struct repository *r, const char *path,
-		  int argc, const char **argv);
+		  int argc, const char **argv, struct strvec *pack_options,
+		  int version);
 int verify_bundle(struct repository *r, struct bundle_header *header, int verbose);
 #define BUNDLE_VERBOSE 1
 int unbundle(struct repository *r, struct bundle_header *header,