Git.vala
authorAlan Knowles <alan@roojs.com>
Wed, 20 Mar 2019 04:32:39 +0000 (12:32 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 20 Mar 2019 04:32:39 +0000 (12:32 +0800)
Git.vala

index f64c638..61013c2 100644 (file)
--- a/Git.vala
+++ b/Git.vala
@@ -231,7 +231,7 @@ namespace  GitLive {
                        ix.write();
                        var treeoid = ix.write_tree();
 
-                       var new_tree = a.repo.lookup(treeoid,typeof (Ggit.Tree))  as   Ggit.Tree;
+                       var new_tree = this.repo.lookup(treeoid,typeof (Ggit.Tree))  as   Ggit.Tree;
                        this.repo.create_commit("HEAD", sig, sig, null, "Test Merge", new_tree, parents);