Code

upload-pack: lift MAX_NEEDS and MAX_HAS limitation
authorJunio C Hamano <junkio@cox.net>
Thu, 6 Jul 2006 01:00:02 +0000 (18:00 -0700)
committerJunio C Hamano <junkio@cox.net>
Sun, 9 Jul 2006 07:57:09 +0000 (00:57 -0700)
commitb1e9fff7e76c13cc16f0b4a4eda19600320bd7e7
treefda0ee8e5a770ad1df2f07e71399bd49c3bc927d
parent6ece0d3030ae2dc5b49fcfcc83df4966a52e0d0b
upload-pack: lift MAX_NEEDS and MAX_HAS limitation

By using object_array data structure, lift the old limitation of
MAX_HAS/MAX_NEEDS.  While we are at it, rename the variables
that hold the objects we use to compute common ancestor to match
the message used at the protocol level.  What the other end has
and we also do are "have"s, and what the other end asks for are
"want"s.

Signed-off-by: Junio C Hamano <junkio@cox.net>
upload-pack.c