diff options
author | DongHun Kwak <dh0128.kwak@samsung.com> | 2021-03-03 15:17:20 +0900 |
---|---|---|
committer | DongHun Kwak <dh0128.kwak@samsung.com> | 2021-03-03 15:17:20 +0900 |
commit | babe3f45019ecfde96339b773036d4288a1819da (patch) | |
tree | 34dece0e3d2bc84b23f21d0f9b94a9a5780cd73c /bundle.h | |
parent | 06f1b8df6f3f90746c8ed50296e467e540531d8f (diff) | |
download | git-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.h | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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, |