author | Junio C Hamano <junkio@cox.net> | |
Thu, 6 Jul 2006 04:28:20 +0000 (21:28 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Sun, 13 Aug 2006 05:51:53 +0000 (22:51 -0700) | ||
commit | 937a515a15f776aa84430574f71367292a52b978 | |
tree | 93bf0471e494c2859812b69c34e2842e630643ef | tree | snapshot |
parent | c04c4e5708c9ad3dc534ff50ad8f28de5a7cfbff | commit | diff |
upload-pack: stop the other side when they have more roots than we do.
When the downloader has more roots than we do, we will see many
"have" that leads to the root we do not have and let the other
side walk all the way to that root. Tell them to stop sending the
branch'es ancestors by sending a fake "ACK" when we already have
common ancestor for the wanted refs.
Signed-off-by: Junio C Hamano <junkio@cox.net>
When the downloader has more roots than we do, we will see many
"have" that leads to the root we do not have and let the other
side walk all the way to that root. Tell them to stop sending the
branch'es ancestors by sending a fake "ACK" when we already have
common ancestor for the wanted refs.
Signed-off-by: Junio C Hamano <junkio@cox.net>
upload-pack.c | diff | blob | history |