git ssb

0+

cel / pull-git-remote-helper



Commit 02bde5229699b0b75af814a5dabed22fca2c48bc

Handle aborted prepend stream

cel committed on 5/11/2020, 11:31:10 PM
Parent: a59538039caf66a1a2dfa869c577df77ecb11288

Files changed

index.jschanged
index.jsView
@@ -91,9 +91,8 @@
9191 var haves = {}
9292 var sendPack
9393 var wants = {}
9494 var shallows = {}
95- var aborted
9695 var hasWants
9796 var gotHaves
9897
9998 function onCaps(caps) {
@@ -392,9 +391,9 @@
392391 if (done) {
393392 read(end, cb)
394393 } else {
395394 done = true
396- cb(null, data)
395 + cb(end, data)
397396 }
398397 }
399398 }
400399

Built with git-ssb-web