This commit is contained in:
2016-03-31 01:59:45 +02:00
commit 82b565e97f
27 changed files with 423 additions and 0 deletions

9
ts/smartgit.commit.ts Normal file
View File

@@ -0,0 +1,9 @@
/// <reference path="./typings/main.d.ts" />
import plugins = require("./smartgit.plugins");
export = function(pathArg:string,commitMessage:string) {
var result = plugins.nodegit.index.addByPath(pathArg);
if (result == 0) {
}
};