diff options
author | Franck Bui-Huu <vagabon.xyz@gmail.com> | 2006-09-07 15:12:03 +0200 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-09-09 11:57:37 -0700 |
commit | efd8696cd7ccfa5042ef710e89fe0d10efdcd085 (patch) | |
tree | bab63aafd8ddba67add58670a8f73b6400c8d41c /builtin-archive.c | |
parent | 4df096a5ca24f2f39042c51cf51b8a2bec66a2b5 (diff) | |
download | git-efd8696cd7ccfa5042ef710e89fe0d10efdcd085.tar.gz |
git-archive: wire up TAR format.
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin-archive.c b/builtin-archive.c index f6bc269fdc..c6423b9c48 100644 --- a/builtin-archive.c +++ b/builtin-archive.c @@ -15,7 +15,7 @@ static const char archive_usage[] = \ "git-archive --format=<fmt> [--prefix=<prefix>/] [<extra>] <tree-ish> [path...]"; struct archiver archivers[] = { - { "" /* dummy */ }, + { .name = "tar", .write_archive = write_tar_archive }, }; static int run_remote_archiver(struct archiver *ar, int argc, |