git-archive: wire up TAR format.
[gitweb.git] / builtin-archive.c
index f6bc269fdc7e79d601e18cdb53511e6139fb1b7b..c6423b9c48b4d84269343e30c790d5c82dc9cd83 100644 (file)
@@ -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,