diff options
author | Junio C Hamano <junkio@cox.net> | 2006-02-21 18:59:37 -0800 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-02-22 01:47:32 -0800 |
commit | 797656e58ddbd82ac461a5142ed726db3a4d0ac0 (patch) | |
tree | cb900f7e451fc454f03e7c75c88ef3baf33a19cf /http.h | |
parent | 50319850343dfe534939ee6b38507d5a8fc44b50 (diff) | |
download | git-797656e58ddbd82ac461a5142ed726db3a4d0ac0.tar.gz git-797656e58ddbd82ac461a5142ed726db3a4d0ac0.tar.xz |
send-pack: do not give up when remote has insanely large number of refs.
Stephen C. Tweedie noticed that we give up running rev-list when
we see too many refs on the remote side. Limit the number of
negative references we give to rev-list and continue.
Not sending any negative references to rev-list is very bad --
we may be pushing a ref that is new to the other end.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'http.h')
0 files changed, 0 insertions, 0 deletions