fetch-pack: give up after getting too many "ack continue"
authorJunio C Hamano <junkio@cox.net>
Thu, 25 May 2006 04:48:34 +0000 (21:48 -0700)
committerJunio C Hamano <junkio@cox.net>
Thu, 25 May 2006 05:30:56 +0000 (22:30 -0700)
If your repository have more roots than the remote repository
you ask an object for, the remote upload-pack keeps responding
"ack continue" until it fills up its received-have buffer
(currently 256 entries).  Usually this is not a problem because
the requester stops traversing the ancestry chain from the commit
it gets "ack continue" for, but this mechanism does not work as
a roadblock when it traverses down the path to the root the
other side does not have.

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

No differences found