Commit 85b384e6478db935cea451927849fa41ea3e98b5
Use newer pull-git-pack API
Charles Lehner committed on 10/16/2016, 1:22:23 AMParent: 1c1c03afe17a344028dc31108899cd9314987ce9
Files changed
index.js | changed |
package.json | changed |
index.js | ||
---|---|---|
@@ -317,9 +317,9 @@ | ||
317 | 317 … | } |
318 | 318 … | |
319 | 319 … | if (repo.uploadPack) { |
320 | 320 … | var idxCb = done() |
321 | - indexPack(lines.passthrough, function (err, idx, packfileFixed) { | |
321 … | + pull(lines.passthrough, indexPack(function (err, idx, packfileFixed) { | |
322 | 322 … | if (err) return idxCb(err) |
323 | 323 … | repo.uploadPack(pull.values(updates), pull.once({ |
324 | 324 … | pack: pull( |
325 | 325 … | packfileFixed, |
@@ -330,9 +330,9 @@ | ||
330 | 330 … | }) |
331 | 331 … | ), |
332 | 332 … | idx: idx |
333 | 333 … | }), idxCb) |
334 | - }) | |
334 … | + })) | |
335 | 335 … | } else { |
336 | 336 … | repo.update(pull.values(updates), pull( |
337 | 337 … | lines.passthrough, |
338 | 338 … | pack.decode({ |
package.json | |||
---|---|---|---|
@@ -26,9 +26,9 @@ | |||
26 | 26 … | "progress": "^1.1.8", | |
27 | 27 … | "pull-buffered": "^0.3.2", | |
28 | 28 … | "pull-cache": "^0.0.0", | |
29 | 29 … | "pull-cat": "^1.1.11", | |
30 | - "pull-git-pack": "^0.2.0", | ||
30 … | + "pull-git-pack": "^0.2.3", | ||
31 | 31 … | "pull-git-repo": "^0.6.0", | |
32 | 32 … | "pull-hash": "^0.0.1", | |
33 | 33 … | "pull-stream": "^3.1.0", | |
34 | 34 … | "stream-to-pull-stream": "^1.7.2" |
Built with git-ssb-web