author | Rene Scharfe <rene.scharfe@lsrfire.ath.cx> | |
Fri, 25 Jul 2008 10:41:22 +0000 (12:41 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sat, 26 Jul 2008 00:18:06 +0000 (17:18 -0700) | ||
commit | c0885435537e4b93709d2bf39ce36454186057a1 | |
tree | 7e8dbc44200a562b31baad57d7a55f09d52c35f1 | tree | snapshot |
parent | 6e94e6835f397cd2602ca1eb12002e51aa6b0500 | commit | diff |
archive: move parameter parsing code to archive.c
write_archive() in archive.c is the only callsite for the command line
parsing functions located in builtin-archive.c. Move them to the place
where they are used, un-export them and make them static, as hinted at
by Stephan.
Cc: Stephan Beyer <s-beyer@gmx.net>
Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
write_archive() in archive.c is the only callsite for the command line
parsing functions located in builtin-archive.c. Move them to the place
where they are used, un-export them and make them static, as hinted at
by Stephan.
Cc: Stephan Beyer <s-beyer@gmx.net>
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 |