summaryrefslogtreecommitdiff
path: root/sys/src/cmd/git/fs.c
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2022-04-16 23:52:10 +0000
committerOri Bernstein <ori@eigenstate.org>2022-04-16 23:52:10 +0000
commit261d1ac0e3a189f10a8ee42fbf68b770e4363d4f (patch)
tree4f736f8243fc7947739ccaa234f93ddcfb007a60 /sys/src/cmd/git/fs.c
parentd606d83ed85953a761f7e08ff3f18459d7b29c34 (diff)
git/pull: fetch all branches (please test)
there was a diff that went in a while ago to improve this, but it got backed out because it encounters a bug in upstream git -- the spec says that a single ACK should be sent when not using multi-ack modes, but they send back multiple ones. This commit brings back the functionality, and works around the upstream git bug in two different ways. First, it skips the packets up until it finds the start of a pack header. Second, it deduplicates the want messages, which is what seems to trigger the duplicate ACKs that cause us trouble.
Diffstat (limited to 'sys/src/cmd/git/fs.c')
0 files changed, 0 insertions, 0 deletions