summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 90a6c7d)
raw | patch | inline | side by side (parent: 90a6c7d)
author | Junio C Hamano <gitster@pobox.com> | |
Mon, 8 Aug 2011 19:31:01 +0000 (12:31 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 8 Aug 2011 19:31:01 +0000 (12:31 -0700) |
Previous commit added one element to the command line, without
making sure the result fits there.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
making sure the result fits there.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/receive-pack.c | patch | blob | history |
diff --git a/builtin/receive-pack.c b/builtin/receive-pack.c
index fca26fb5fbfb7c33f7a2c77b6301b501db5e9737..0d51bfb79eb3e8b234ca4ee98844de20d46503b6 100644 (file)
--- a/builtin/receive-pack.c
+++ b/builtin/receive-pack.c
if (ntohl(hdr.hdr_entries) < unpack_limit) {
int code, i = 0;
- const char *unpacker[4];
+ const char *unpacker[5];
unpacker[i++] = "unpack-objects";
if (quiet)
unpacker[i++] = "-q";