]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'jt/v2-fetch-nego-fix'
authorJunio C Hamano <gitster@pobox.com>
Fri, 1 May 2020 20:40:00 +0000 (13:40 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 1 May 2020 20:40:00 +0000 (13:40 -0700)
The upload-pack protocol v2 gave up too early before finding a
common ancestor, resulting in a wasteful fetch from a fork of a
project.  This has been corrected to match the behaviour of v0
protocol.

* jt/v2-fetch-nego-fix:
  fetch-pack: in protocol v2, reset in_vain upon ACK
  fetch-pack: in protocol v2, in_vain only after ACK
  fetch-pack: return enum from process_acks()

1  2 
fetch-pack.c
t/t5500-fetch-pack.sh

diff --cc fetch-pack.c
Simple merge
Simple merge