8 unsigned int nr
, alloc
;
9 struct ref_list_entry
{
15 struct bundle_header
{
17 struct ref_list prerequisites
;
18 struct ref_list references
;
19 const struct git_hash_algo
*hash_algo
;
22 int is_bundle(const char *path
, int quiet
);
23 int read_bundle_header(const char *path
, struct bundle_header
*header
);
24 int create_bundle(struct repository
*r
, const char *path
,
25 int argc
, const char **argv
, struct strvec
*pack_options
,
27 int verify_bundle(struct repository
*r
, struct bundle_header
*header
, int verbose
);
28 #define BUNDLE_VERBOSE 1
29 int unbundle(struct repository
*r
, struct bundle_header
*header
,
30 int bundle_fd
, int flags
);
31 int list_bundle_refs(struct bundle_header
*header
,
32 int argc
, const char **argv
);