4 #include "argv-array.h"
8 unsigned int nr
, alloc
;
9 struct ref_list_entry
{
15 struct bundle_header
{
16 struct ref_list prerequisites
;
17 struct ref_list references
;
20 int is_bundle(const char *path
, int quiet
);
21 int read_bundle_header(const char *path
, struct bundle_header
*header
);
22 int create_bundle(struct repository
*r
, const char *path
,
23 int argc
, const char **argv
, struct argv_array
*pack_options
);
24 int verify_bundle(struct repository
*r
, struct bundle_header
*header
, int verbose
);
25 #define BUNDLE_VERBOSE 1
26 int unbundle(struct repository
*r
, struct bundle_header
*header
,
27 int bundle_fd
, int flags
);
28 int list_bundle_refs(struct bundle_header
*header
,
29 int argc
, const char **argv
);