summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0271611)
raw | patch | inline | side by side (parent: 0271611)
author | Linus Torvalds <torvalds@g5.osdl.org> | |
Wed, 6 Jul 2005 00:19:20 +0000 (17:19 -0700) | ||
committer | Linus Torvalds <torvalds@g5.osdl.org> | |
Wed, 6 Jul 2005 00:19:20 +0000 (17:19 -0700) |
Now that git-clone-pack exists, we actually have somebody requesting
more than just a single head in a pack. So allow the Jeff's of this
world to clone things with tens of heads.
more than just a single head in a pack. So allow the Jeff's of this
world to clone things with tens of heads.
upload-pack.c | patch | blob | history |
diff --git a/upload-pack.c b/upload-pack.c
index 9edbf51dc5aac854943ad34c001b11850000e2a7..6d844cc3199ae5bda475ec57bef4efb4901176bb 100644 (file)
--- a/upload-pack.c
+++ b/upload-pack.c
static const char upload_pack_usage[] = "git-upload-pack <dir>";
#define MAX_HAS (16)
-#define MAX_NEEDS (16)
+#define MAX_NEEDS (256)
static int nr_has = 0, nr_needs = 0;
static unsigned char has_sha1[MAX_HAS][20];
static unsigned char needs_sha1[MAX_NEEDS][20];