X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=bundle.h;h=1584e4d821440d525f10515d6a07c6506b732fec;hb=3b6a5d2d05d4945e11fbc3669a82f81ce18f80a4;hp=e2aedd60d6ad1482bb6da173c853e6ba4805c8d7;hpb=4698ef555a1706fe322a68a02a21fb1087940ac3;p=git.git diff --git a/bundle.h b/bundle.h index e2aedd60d..1584e4d82 100644 --- a/bundle.h +++ b/bundle.h @@ -14,11 +14,13 @@ struct bundle_header { struct ref_list references; }; +int is_bundle(const char *path, int quiet); int read_bundle_header(const char *path, struct bundle_header *header); int create_bundle(struct bundle_header *header, const char *path, int argc, const char **argv); int verify_bundle(struct bundle_header *header, int verbose); -int unbundle(struct bundle_header *header, int bundle_fd); +#define BUNDLE_VERBOSE 1 +int unbundle(struct bundle_header *header, int bundle_fd, int flags); int list_bundle_refs(struct bundle_header *header, int argc, const char **argv);