2016-03-30 23:26:40 +00:00
|
|
|
/// <reference path="./typings/main.d.ts" />
|
|
|
|
import plugins = require("./smartgit.plugins");
|
2016-01-18 03:20:37 +00:00
|
|
|
|
2016-03-30 23:26:40 +00:00
|
|
|
export = function(pathArg:string,commitMessage:string) {
|
|
|
|
var result = plugins.nodegit.index.addByPath(pathArg);
|
|
|
|
if (result == 0) {
|
|
|
|
|
2016-01-18 03:20:37 +00:00
|
|
|
}
|
2016-03-30 23:26:40 +00:00
|
|
|
};
|