pull-git-repo
Advanced tools
Comparing version 1.1.1 to 1.2.0
@@ -851,3 +851,6 @@ var buffered = require('pull-buffered') | ||
R.getPack = function (heads, haves, cb) { | ||
R.getPack = function (heads, haves, options, cb) { | ||
if (typeof options === 'function') cb = options, options = null | ||
if (!options) options = {} | ||
// get objects from heads back to haves | ||
@@ -854,0 +857,0 @@ var self = this |
{ | ||
"name": "pull-git-repo", | ||
"version": "1.1.1", | ||
"version": "1.2.0", | ||
"description": "utility methods for git repos using pull streams", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -205,3 +205,3 @@ # pull-git-repo | ||
#### `repo.getPack(heads, haves, cb(err, readPack))` | ||
#### `repo.getPack(heads, haves, [opts, ]cb(err, readPack))` | ||
@@ -213,2 +213,3 @@ Build a packfile that includes objects reachable from heads and not reachable | ||
- `haves`: set of revs of commits to not include | ||
- `opts.verbosity`: git verbosity level. normal is 1, `-v` is 2, `-q` is 0 | ||
- `cb`: callback for a stream of packfile data | ||
@@ -215,0 +216,0 @@ |
35704
987
232