initial
This commit is contained in:
9
ts/smartgit.commit.ts
Normal file
9
ts/smartgit.commit.ts
Normal 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) {
|
||||
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user