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

index c46c2d1..b54b7f7 100644 (file)
--- a/Git.vala
+++ b/Git.vala
@@ -29,7 +29,7 @@ void main()
        ix.write();
        var treeoid = index.write_tree();
 
-       var head = d_repository.get_head();
+       var head = a.repo.get_head();
        var parent = head.lookup() as Ggit.Commit;
        Ggit.Commit[] parents = (parent == null) ? 
                new Ggit.Commit[] {} :