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:
Franck Bui-Huu
2006-09-07 15:12:03 +02:00
committed by Junio C Hamano
parent 4df096a5ca
commit efd8696cd7
3 changed files with 72 additions and 1 deletions

View File

@@ -37,5 +37,9 @@ extern void parse_treeish_arg(const char **treeish,
extern void parse_pathspec_arg(const char **pathspec,
struct archiver_args *args);
/*
* Archive-format specific backends.
*/
extern int write_tar_archive(struct archiver_args *);
#endif /* ARCHIVE_H */