git-archive: make compression level of ZIP archives configurable
Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx> Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
committed by
Junio C Hamano
parent
39345a216f
commit
854c4168e7
@ -15,8 +15,15 @@ static const char archive_usage[] = \
|
||||
"git-archive --format=<fmt> [--prefix=<prefix>/] [<extra>] <tree-ish> [path...]";
|
||||
|
||||
struct archiver archivers[] = {
|
||||
{ .name = "tar", .write_archive = write_tar_archive },
|
||||
{ .name = "zip", .write_archive = write_zip_archive },
|
||||
{
|
||||
.name = "tar",
|
||||
.write_archive = write_tar_archive,
|
||||
},
|
||||
{
|
||||
.name = "zip",
|
||||
.write_archive = write_zip_archive,
|
||||
.parse_extra = parse_extra_zip_args,
|
||||
},
|
||||
};
|
||||
|
||||
static int run_remote_archiver(struct archiver *ar, int argc,
|
||||
|
||||
Reference in New Issue
Block a user