diff options
author | cel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519> | 2017-12-27 14:35:42 -1000 |
---|---|---|
committer | cel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519> | 2018-01-08 14:36:59 -1000 |
commit | a6b3929f8e156244dc22cae546a15079c1754f48 (patch) | |
tree | 35ce9a68b7ea966a6ee601a19d79349918bc334d /lib/app.js | |
parent | 240833027314bd38f229bf5f70a92963378c2117 (diff) | |
download | patchfoo-a6b3929f8e156244dc22cae546a15079c1754f48.tar.gz patchfoo-a6b3929f8e156244dc22cae546a15079c1754f48.zip |
Factor out git internals
Diffstat (limited to 'lib/app.js')
-rw-r--r-- | lib/app.js | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) |