aboutsummaryrefslogtreecommitdiff
path: root/archive.h
diff options
context:
space:
mode:
authorFranck Bui-Huu <vagabon.xyz@gmail.com>2006-09-07 15:12:03 +0200
committerJunio C Hamano <junkio@cox.net>2006-09-09 11:57:37 -0700
commitefd8696cd7ccfa5042ef710e89fe0d10efdcd085 (patch)
treebab63aafd8ddba67add58670a8f73b6400c8d41c /archive.h
parent4df096a5ca24f2f39042c51cf51b8a2bec66a2b5 (diff)
downloadgit-efd8696cd7ccfa5042ef710e89fe0d10efdcd085.tar.gz
git-efd8696cd7ccfa5042ef710e89fe0d10efdcd085.tar.xz
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 'archive.h')
-rw-r--r--archive.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/archive.h b/archive.h
index 24b016f00..5c3f29b8d 100644
--- a/archive.h
+++ b/archive.h
@@ -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 */