Code

archive: define MAX_ARGS where it's needed
authorRene Scharfe <rene.scharfe@lsrfire.ath.cx>
Fri, 25 Jul 2008 10:41:23 +0000 (12:41 +0200)
committerJunio C Hamano <gitster@pobox.com>
Sat, 26 Jul 2008 00:20:55 +0000 (17:20 -0700)
commit7f4d0511af9d6c93656dda5a683632f5ae5b5278
tree4283fd96080a451db5982d9b10d94965aa988ddd
parentc0885435537e4b93709d2bf39ce36454186057a1
archive: define MAX_ARGS where it's needed

MAX_EXTRA_ARGS is not used anymore, so remove it.  MAX_ARGS is used only
in builtin-upload-archive.c, so define it there.  Also report the actual
value we're comparing against when the number of args is too big.

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