author | Rene Scharfe <rene.scharfe@lsrfire.ath.cx> | |
Fri, 25 Jul 2008 10:41:21 +0000 (12:41 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sat, 26 Jul 2008 00:16:12 +0000 (17:16 -0700) | ||
commit | 6e94e6835f397cd2602ca1eb12002e51aa6b0500 | |
tree | 243d614ba5341500b1b5ea3994e106cdb85f1e21 | tree | snapshot |
parent | d3296e37b61fdd80a8b785270b1d11db34dab2f5 | commit | diff |
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>
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 | diff | blob | history | |
archive.h | diff | blob | history | |
builtin-archive.c | diff | blob | history | |
builtin-upload-archive.c | diff | blob | history |