aboutsummaryrefslogtreecommitdiff
path: root/builtin-archive.c
diff options
context:
space:
mode:
authorFranck Bui-Huu <vagabon.xyz@gmail.com>2006-09-07 15:12:04 +0200
committerJunio C Hamano <junkio@cox.net>2006-09-09 11:57:37 -0700
commitec06bff5e6f76b46c22a3b2c97452568f088fa3c (patch)
tree5002cdb4a2b53f2767ce36fa8b1bde59803f049a /builtin-archive.c
parentefd8696cd7ccfa5042ef710e89fe0d10efdcd085 (diff)
downloadgit-ec06bff5e6f76b46c22a3b2c97452568f088fa3c.tar.gz
git-ec06bff5e6f76b46c22a3b2c97452568f088fa3c.tar.xz
git-archive: wire up ZIP format.
Again, this is based on Rene Scharfe's earlier patch, but uses the archiver support introduced by the previous patch. Signed-off-by: Franck Bui-Huu <vagabon.xyz@gmail.com> Acked-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'builtin-archive.c')
-rw-r--r--builtin-archive.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/builtin-archive.c b/builtin-archive.c
index c6423b9c4..651d1bf6d 100644
--- a/builtin-archive.c
+++ b/builtin-archive.c
@@ -16,6 +16,7 @@ static const char archive_usage[] = \
struct archiver archivers[] = {
{ .name = "tar", .write_archive = write_tar_archive },
+ { .name = "zip", .write_archive = write_zip_archive },
};
static int run_remote_archiver(struct archiver *ar, int argc,