archive: remove extra arguments parsing code
commit489e351ea03e78746bad0c0ad4fcf4a63920256d
authorRené Scharfe <rene.scharfe@lsrfire.ath.cx>
Mon, 14 Jul 2008 19:22:05 +0000 (14 21:22 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 15 Jul 2008 14:18:04 +0000 (15 07:18 -0700)
treea1cbdc92c2abdf2ebc69545b4decf573d95aa899
parent1d11d5bb85daf38aa1eb6ecd2387dff862181812
archive: remove extra arguments parsing code

Replace the code that calls backend specific argument parsers by a
simple flag mechanism.  This reduces code size and complexity.

We can add back such a mechanism (based on incremental parse_opt(),
perhaps) when we need it.  The compression level parameter, though,
is going to be shared by future compressing backends like tgz.

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