summaryrefslogtreecommitdiff
path: root/bundle.h
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2019-01-24 08:11:51 -0500
committerLibravatar Junio C Hamano <gitster@pobox.com>2019-01-24 12:35:44 -0800
commitfcb133e978e98cf92de3ec7dedd4969802191b13 (patch)
tree9644a6407728ca2faf3a9e32ce03dff56ad03f03 /bundle.h
parentapply: drop unused "def" parameter from find_name_gnu() (diff)
downloadtgif-fcb133e978e98cf92de3ec7dedd4969802191b13.tar.xz
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>
Diffstat (limited to 'bundle.h')
-rw-r--r--bundle.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/bundle.h b/bundle.h
index 781e6f5c3a..37c37d7f65 100644
--- a/bundle.h
+++ b/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,