create_bundle(): drop unused "header" parameter
There's no need to pass a header struct to create_bundle(); it writes the header information directly to a descriptor (and does not report back details to the caller). Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:

committed by
Junio C Hamano

parent
74f8a9c954
commit
fcb133e978
4
bundle.h
4
bundle.h
@ -18,8 +18,8 @@ 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 repository *r, struct bundle_header *header,
|
||||
const char *path, int argc, const char **argv);
|
||||
int create_bundle(struct repository *r, 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 repository *r, struct bundle_header *header,
|
||||
|
Reference in New Issue
Block a user