diff --git a/upload-pack.c b/upload-pack.c
index fc79ddef255a49176acab52c6492c1086b4e6e44..f05e4229d0d3a3ed34b4bba6636f4d333c74dc22 100644 (file)
--- a/upload-pack.c
+++ b/upload-pack.c
#include "list-objects.h"
#include "run-command.h"
-static const char upload_pack_usage[] = "git upload-pack [--strict] [--timeout=nn] <dir>";
+static const char upload_pack_usage[] = "git upload-pack [--strict] [--timeout=<n>] <dir>";
/* bits #0..7 in revision.h, #8..10 in commit.c */
#define THEY_HAVE (1u << 11)
static void receive_needs(void)
{
- struct object_array shallows = {0, 0, NULL};
+ struct object_array shallows = OBJECT_ARRAY_INIT;
static char line[1000];
int len, depth = 0;