9 lines
250 B
TypeScript
9 lines
250 B
TypeScript
|
/// <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) {
|
||
|
|
||
|
}
|
||
|
};
|