summaryrefslogtreecommitdiff
path: root/commit.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <junkio@cox.net>2006-02-21 18:59:37 -0800
committerLibravatar Junio C Hamano <junkio@cox.net>2006-02-22 01:47:32 -0800
commit797656e58ddbd82ac461a5142ed726db3a4d0ac0 (patch)
treecb900f7e451fc454f03e7c75c88ef3baf33a19cf /commit.c
parentrev-list.c: fix non-grammatical comments. (diff)
downloadtgif-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 'commit.c')
0 files changed, 0 insertions, 0 deletions