Code

archive: add write_archive()
authorRene Scharfe <rene.scharfe@lsrfire.ath.cx>
Fri, 25 Jul 2008 10:41:21 +0000 (12:41 +0200)
committerJunio C Hamano <gitster@pobox.com>
Sat, 26 Jul 2008 00:16:12 +0000 (17:16 -0700)
commit6e94e6835f397cd2602ca1eb12002e51aa6b0500
tree243d614ba5341500b1b5ea3994e106cdb85f1e21
parentd3296e37b61fdd80a8b785270b1d11db34dab2f5
archive: add write_archive()

Both archive and upload-archive have to parse command line arguments and
then call the archiver specific write function.  Move the duplicate code
to a new function, write_archive().

Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
archive.c
archive.h
builtin-archive.c
builtin-upload-archive.c