summaryrefslogtreecommitdiff
path: root/bundle.h
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2019-11-10 20:41:25 (GMT)
committerJunio C Hamano <gitster@pobox.com>2019-11-11 02:46:28 (GMT)
commit79862b6b77c07b88ae1137fa602bf2046f979ad9 (patch)
tree5083a781f623851f03527d277e844ed110d41150 /bundle.h
parent73c3253d75e1268946834e72147481fc9a66cc90 (diff)
downloadgit-79862b6b77c07b88ae1137fa602bf2046f979ad9.zip
git-79862b6b77c07b88ae1137fa602bf2046f979ad9.tar.gz
git-79862b6b77c07b88ae1137fa602bf2046f979ad9.tar.bz2
bundle-create: progress output control
Support the progress output options from pack-objects in git-bundle's create subcommand. Most notably, this provides --quiet as requested on the git mailing list per [1] Reference: https://www.mail-archive.com/git@vger.kernel.org/msg182844.html <robbat2-20190806T191156-796782357Z@orbis-terrarum.net> Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'bundle.h')
-rw-r--r--bundle.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/bundle.h b/bundle.h
index 37c37d7..ceab0c7 100644
--- a/bundle.h
+++ b/bundle.h
@@ -1,6 +1,7 @@
#ifndef BUNDLE_H
#define BUNDLE_H
+#include "argv-array.h"
#include "cache.h"
struct ref_list {
@@ -19,7 +20,7 @@ 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, const char *path,
- int argc, const char **argv);
+ int argc, const char **argv, struct argv_array *pack_options);
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,