@@ -25,7 +25,7 @@ function nodeShellExec() { | |||
}); | |||
} | |||
child.on('close', (code) => { | |||
var logEntry = { code } | |||
var logEntry = { code, success } | |||
if(+code !== 0 || opts.haserrors) { success = false; logEntry = { result: `${opts.title} exited with code ${code}`, success, code }}; | |||
if(opts.stdio !== 'ignore') { | |||
logEntry = { result: `${opts.title} exited with code ${code}`, messages, code } |
@@ -509,6 +509,9 @@ var op = { | |||
, 'is-git-repo': (dir) => { | |||
return nodeShellExec('git', ['-C', dir.name, 'rev-parse'], { stdio: 'ignore' }) | |||
} | |||
// git remote equivalents... | |||
// git branch --set-upstream-to=elixir-unc/master master | |||
// git push --set-upstream elixir-unc branch.. | |||
, 'set-url': (remotename, url) => { | |||
var pushable = processedArgs.pushable || false; | |||
remotename = remotename || processedArgs._[1] |