aboutsummaryrefslogtreecommitdiff
path: root/lib/app.js
diff options
context:
space:
mode:
authorcel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519>2017-12-27 14:35:42 -1000
committercel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519>2018-01-08 14:36:59 -1000
commita6b3929f8e156244dc22cae546a15079c1754f48 (patch)
tree35ce9a68b7ea966a6ee601a19d79349918bc334d /lib/app.js
parent240833027314bd38f229bf5f70a92963378c2117 (diff)
downloadpatchfoo-a6b3929f8e156244dc22cae546a15079c1754f48.tar.gz
patchfoo-a6b3929f8e156244dc22cae546a15079c1754f48.zip
Factor out git internals
Diffstat (limited to 'lib/app.js')
-rw-r--r--lib/app.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/app.js b/lib/app.js
index f3b1774..1d9b80f 100644
--- a/lib/app.js
+++ b/lib/app.js
@@ -11,7 +11,7 @@ var About = require('./about')
var Follows = require('./follows')
var Serve = require('./serve')
var Render = require('./render')
-var Git = require('./git')
+var Git = require('ssb-git')
var cat = require('pull-cat')
var proc = require('child_process')
var toPull = require('stream-to-pull-stream')
@@ -62,7 +62,7 @@ function App(sbot, config) {
this.unboxMsg = this.unboxMsg.bind(this)
this.render = new Render(this, this.opts)
- this.git = new Git(this)
+ this.git = new Git(this.sbot, this.config)
this.contacts = new Contacts(this.sbot)
this.follows = new Follows(this.sbot, this.contacts)