author | René Scharfe <rene.scharfe@lsrfire.ath.cx> | |
Mon, 14 Jul 2008 19:22:05 +0000 (21:22 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 15 Jul 2008 14:18:04 +0000 (07:18 -0700) | ||
commit | 489e351ea03e78746bad0c0ad4fcf4a63920256d | |
tree | a1cbdc92c2abdf2ebc69545b4decf573d95aa899 | tree | snapshot |
parent | 1d11d5bb85daf38aa1eb6ecd2387dff862181812 | commit | diff |
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>
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 | diff | blob | history | |
archive.h | diff | blob | history | |
builtin-archive.c | diff | blob | history |