var str = (new GLib.DateTime.now_utc()).format("%Y-%m-%d %H:%M:%S");
GLib.FileUtils.set_contents("/home/alan/git/test1-clone/test1", str);
- var ix = a.repo.repo.get_index();
+ var ix = a.repo.get_index();
ix.add_path("test1");
ix.write();
var treeoid = index.write_tree();
- var tree = a.repo.repo.lookup<Ggit.Tree>(treeoid);
+ var tree = a.repo.lookup<Ggit.Tree>(treeoid);
var sig = new Ggit.Signature.now("Alan Knowles", "alan@roojs.com");
- a.repo.repo.create_commit("HEAD", sig, sig, null, "test commit " + str,
+ a.repo.create_commit("HEAD", sig, sig, null, "test commit " + str,
// mmh.. no git add/commit in library...
string[] spawn_args = {"git", "commit", "-m", "test", "-a"};
string[] spawn_env = Environ.get ();