diff options
author | Rene Scharfe <rene.scharfe@lsrfire.ath.cx> | 2008-07-25 12:41:23 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-07-25 17:20:55 -0700 |
commit | 7f4d0511af9d6c93656dda5a683632f5ae5b5278 (patch) | |
tree | 4283fd96080a451db5982d9b10d94965aa988ddd /archive.h | |
parent | c0885435537e4b93709d2bf39ce36454186057a1 (diff) | |
download | git-7f4d0511af9d6c93656dda5a683632f5ae5b5278.tar.gz |
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>
Diffstat (limited to 'archive.h')
-rw-r--r-- | archive.h | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -1,9 +1,6 @@ #ifndef ARCHIVE_H #define ARCHIVE_H -#define MAX_EXTRA_ARGS 32 -#define MAX_ARGS (MAX_EXTRA_ARGS + 32) - struct archiver_args { const char *base; size_t baselen; |