summaryrefslogtreecommitdiffstats
path: root/receive-pack.c
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-02-22 03:59:37 +0100
committerJunio C Hamano <junkio@cox.net>2006-02-22 10:47:32 +0100
commit797656e58ddbd82ac461a5142ed726db3a4d0ac0 (patch)
treecb900f7e451fc454f03e7c75c88ef3baf33a19cf /receive-pack.c
parentrev-list.c: fix non-grammatical comments. (diff)
downloadgit-797656e58ddbd82ac461a5142ed726db3a4d0ac0.tar.xz
git-797656e58ddbd82ac461a5142ed726db3a4d0ac0.zip
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 'receive-pack.c')
0 files changed, 0 insertions, 0 deletions