Ggit.init();
+ var a = new GitLive.Repo("/home/alan/gitlive/gitlive");
+ /*
var a = new GitLive.Repo("/home/alan/git/test1-clone");
//a.fetchAll();
var str = (new GLib.DateTime.now_utc()).format("%Y-%m-%d %H:%M:%S");
var sig = new Ggit.Signature.now("Alan Knowles", "alan@roojs.com");
a.repo.create_commit("HEAD", sig, sig, null, "test commit " + str, tree, parents);
-
+ */
// mmh.. no git add/commit in library...
// string[] spawn_args = {"git", "commit", "-m", "test", "-a"};
//string[] spawn_env = Environ.get ();
}
var popts = new Ggit.PushOptions();
- //popts.callbacks = this.callbacks;
+ popts.callbacks = this.callbacks;
GLib.debug("Push?");
r.upload(far,popts);
GLib.debug("Push done?");