summaryrefslogtreecommitdiff
path: root/archive.h
diff options
context:
space:
mode:
authorRene Scharfe <rene.scharfe@lsrfire.ath.cx>2008-07-25 12:41:23 +0200
committerJunio C Hamano <gitster@pobox.com>2008-07-25 17:20:55 -0700
commit7f4d0511af9d6c93656dda5a683632f5ae5b5278 (patch)
tree4283fd96080a451db5982d9b10d94965aa988ddd /archive.h
parentc0885435537e4b93709d2bf39ce36454186057a1 (diff)
downloadgit-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.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/archive.h b/archive.h
index f6ceaebc8f..929368d80b 100644
--- a/archive.h
+++ b/archive.h
@@ -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;