ssb-git-repo
Advanced tools
Comparing version 1.5.1 to 1.5.2
@@ -21,5 +21,3 @@ var ref = require('ssb-ref') | ||
var repo = new Repo(sbot, msg.key, msg.value, options.upstream) | ||
repo.synced = true | ||
if (options.live) | ||
repo._syncNew() | ||
repo._sync(options.live) | ||
cb(err, msg && repo) | ||
@@ -26,0 +24,0 @@ }) |
@@ -362,3 +362,3 @@ var pull = require('pull-stream') | ||
for (head in this._refs) break | ||
this._setHead(head) | ||
this._setHead(head || defaultHead) | ||
} | ||
@@ -600,3 +600,4 @@ | ||
GitRepo(self).resolveRef(ref, function (err, oldHead) { | ||
if (err) return issuesCb(err) | ||
if (err && err.name == 'NotFoundError') oldHead = null | ||
else if (err) return issuesCb(err) | ||
if (oldHead == newHead) | ||
@@ -603,0 +604,0 @@ return issuesCb(null, []) |
{ | ||
"name": "ssb-git-repo", | ||
"version": "1.5.1", | ||
"version": "1.5.2", | ||
"description": "git repos in secure-scuttlebutt", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
30387
862