ssb-git-repo
Advanced tools
Comparing version 1.6.4 to 1.7.0
@@ -263,3 +263,5 @@ var pull = require('pull-stream') | ||
// get refs source({name, hash}) | ||
Repo.prototype.refs = function () { | ||
Repo.prototype.refs = function (options) { | ||
if (!options) options = {} | ||
var inherited = options.inherited !== false | ||
return pull( | ||
@@ -269,3 +271,3 @@ cat([ | ||
!this.syncedRefs && this._oldRefs(), | ||
this.upstream && this.upstream.refs(), | ||
inherited && this.upstream && this.upstream.refs(), | ||
]), | ||
@@ -272,0 +274,0 @@ pull.unique('name') |
{ | ||
"name": "ssb-git-repo", | ||
"version": "1.6.4", | ||
"version": "1.7.0", | ||
"description": "git repos in secure-scuttlebutt", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
33348
945