git ssb

0+

cel / pull-git-remote-helper



Commit 85b384e6478db935cea451927849fa41ea3e98b5

Use newer pull-git-pack API

Charles Lehner committed on 10/16/2016, 1:22:23 AM
Parent: 1c1c03afe17a344028dc31108899cd9314987ce9

Files changed

index.jschanged
package.jsonchanged
index.jsView
@@ -317,9 +317,9 @@
317317 }
318318
319319 if (repo.uploadPack) {
320320 var idxCb = done()
321- indexPack(lines.passthrough, function (err, idx, packfileFixed) {
321 + pull(lines.passthrough, indexPack(function (err, idx, packfileFixed) {
322322 if (err) return idxCb(err)
323323 repo.uploadPack(pull.values(updates), pull.once({
324324 pack: pull(
325325 packfileFixed,
@@ -330,9 +330,9 @@
330330 })
331331 ),
332332 idx: idx
333333 }), idxCb)
334- })
334 + }))
335335 } else {
336336 repo.update(pull.values(updates), pull(
337337 lines.passthrough,
338338 pack.decode({
package.jsonView
@@ -26,9 +26,9 @@
2626 "progress": "^1.1.8",
2727 "pull-buffered": "^0.3.2",
2828 "pull-cache": "^0.0.0",
2929 "pull-cat": "^1.1.11",
30- "pull-git-pack": "^0.2.0",
30 + "pull-git-pack": "^0.2.3",
3131 "pull-git-repo": "^0.6.0",
3232 "pull-hash": "^0.0.1",
3333 "pull-stream": "^3.1.0",
3434 "stream-to-pull-stream": "^1.7.2"

Built with git-ssb-web