diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2018-11-10 06:49:01 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-11-12 06:50:06 +0100 |
commit | 74ae4b638d0acf6ab155422152d7ad98fdbe6f6b (patch) | |
tree | 410120d2cc9540f03c0a771ffa110deb74bf559f /bundle.h | |
parent | branch.c: remove the_repository reference (diff) | |
download | git-74ae4b638d0acf6ab155422152d7ad98fdbe6f6b.tar.xz git-74ae4b638d0acf6ab155422152d7ad98fdbe6f6b.zip |
bundle.c: remove the_repository references
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'bundle.h')
-rw-r--r-- | bundle.h | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -18,11 +18,12 @@ 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 bundle_header *header, const char *path, - int argc, const char **argv); -int verify_bundle(struct bundle_header *header, int verbose); +int create_bundle(struct repository *r, struct bundle_header *header, + const char *path, int argc, const char **argv); +int verify_bundle(struct repository *r, struct bundle_header *header, int verbose); #define BUNDLE_VERBOSE 1 -int unbundle(struct bundle_header *header, int bundle_fd, int flags); +int unbundle(struct repository *r, struct bundle_header *header, + int bundle_fd, int flags); int list_bundle_refs(struct bundle_header *header, int argc, const char **argv); |