From: Alan Knowles Date: Wed, 20 Mar 2019 04:34:24 +0000 (+0800) Subject: Git.vala X-Git-Url: http://git.roojs.org/?p=gitlive;a=commitdiff_plain;h=cede69895b49cb47a7e25dae5e196f6c12c235cd Git.vala --- diff --git a/Git.vala b/Git.vala index bb12e3d7..b4cc84cd 100644 --- a/Git.vala +++ b/Git.vala @@ -234,7 +234,7 @@ namespace GitLive { var new_tree = this.repo.lookup(treeoid,typeof (Ggit.Tree)) as Ggit.Tree; var parent = new_head.lookup() as Ggit.Commit; - Ggit.Commit[] parents = Ggit.Commit[] { parent }; + Ggit.Commit[] parents = new Ggit.Commit[] { parent }; this.repo.create_commit(this.head.get_name(), sig, sig, null, "Test Merge", new_tree, parents);