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>
This commit is contained in:
committed by
Junio C Hamano
parent
4df096a5ca
commit
efd8696cd7
@ -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,
|
||||
|
||||
Reference in New Issue
Block a user