summaryrefslogtreecommitdiff
path: root/bundle.h
diff options
context:
space:
mode:
authorDongHun Kwak <dh0128.kwak@samsung.com>2021-03-03 15:17:20 +0900
committerDongHun Kwak <dh0128.kwak@samsung.com>2021-03-03 15:17:20 +0900
commitbabe3f45019ecfde96339b773036d4288a1819da (patch)
tree34dece0e3d2bc84b23f21d0f9b94a9a5780cd73c /bundle.h
parent06f1b8df6f3f90746c8ed50296e467e540531d8f (diff)
downloadgit-babe3f45019ecfde96339b773036d4288a1819da.tar.gz
git-babe3f45019ecfde96339b773036d4288a1819da.tar.bz2
git-babe3f45019ecfde96339b773036d4288a1819da.zip
Imported Upstream version 2.29.0upstream/2.29.0
Diffstat (limited to 'bundle.h')
-rw-r--r--bundle.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/bundle.h b/bundle.h
index 2dc94420..f9e2d1c8 100644
--- a/bundle.h
+++ b/bundle.h
@@ -1,7 +1,7 @@
#ifndef BUNDLE_H
#define BUNDLE_H
-#include "argv-array.h"
+#include "strvec.h"
#include "cache.h"
struct ref_list {
@@ -13,6 +13,7 @@ struct ref_list {
};
struct bundle_header {
+ unsigned version;
struct ref_list prerequisites;
struct ref_list references;
const struct git_hash_algo *hash_algo;
@@ -21,7 +22,8 @@ struct bundle_header {
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, struct argv_array *pack_options);
+ 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,