Git.vala
authorAlan Knowles <alan@roojs.com>
Tue, 12 Mar 2019 07:53:28 +0000 (15:53 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 12 Mar 2019 07:53:28 +0000 (15:53 +0800)
Git.vala

index 042506f..edc877a 100644 (file)
--- a/Git.vala
+++ b/Git.vala
@@ -38,7 +38,7 @@ void main()
        var tree = a.repo.lookup<Ggit.Tree>(treeoid); // odd format.. 
        
        var sig = new Ggit.Signature.now("Alan Knowles", "alan@roojs.com");
-       a.repo.create_commit("HEAD", sig, sig, null, "test commit " + str, 
+       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 ();