7 unsigned int nr
, alloc
;
8 struct ref_list_entry
{
14 struct bundle_header
{
15 struct ref_list prerequisites
;
16 struct ref_list references
;
19 int is_bundle(const char *path
, int quiet
);
20 int read_bundle_header(const char *path
, struct bundle_header
*header
);
21 int create_bundle(struct repository
*r
, struct bundle_header
*header
,
22 const char *path
, int argc
, const char **argv
);
23 int verify_bundle(struct repository
*r
, struct bundle_header
*header
, int verbose
);
24 #define BUNDLE_VERBOSE 1
25 int unbundle(struct repository
*r
, struct bundle_header
*header
,
26 int bundle_fd
, int flags
);
27 int list_bundle_refs(struct bundle_header
*header
,
28 int argc
, const char **argv
);