]> git.ipfire.org Git - thirdparty/git.git/commit - archive.c
archive: move parameter parsing code to archive.c
authorRene Scharfe <rene.scharfe@lsrfire.ath.cx>
Fri, 25 Jul 2008 10:41:22 +0000 (12:41 +0200)
committerJunio C Hamano <gitster@pobox.com>
Sat, 26 Jul 2008 00:18:06 +0000 (17:18 -0700)
commitc0885435537e4b93709d2bf39ce36454186057a1
tree7e8dbc44200a562b31baad57d7a55f09d52c35f1
parent6e94e6835f397cd2602ca1eb12002e51aa6b0500
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>
archive.c
archive.h
builtin-archive.c