now using native git through shelljs since it proves to be much more stable

This commit is contained in:
2016-07-02 02:22:03 +02:00
parent 527d1b7aa5
commit c8c9d8a407
24 changed files with 56 additions and 132 deletions

View File

@@ -2,8 +2,7 @@ import "typings-global"
import plugins = require("./smartgit.plugins");
export = function(pathArg:string,commitMessage:string) {
var result = plugins.nodegit.index.addByPath(pathArg);
if (result == 0) {
}
let done = plugins.Q.defer();
done.resolve();
return done.promise;
};