From: Alan Knowles Date: Fri, 15 Mar 2019 02:00:48 +0000 (+0800) Subject: Git.vala X-Git-Url: http://git.roojs.org/?p=gitlive;a=commitdiff_plain;h=654b2c1a963b014d2fc295dbfbc58307919106ba Git.vala --- diff --git a/Git.vala b/Git.vala index 24efb6bd..1e8752b3 100644 --- a/Git.vala +++ b/Git.vala @@ -176,10 +176,10 @@ namespace GitLive { var new_tree = this.repo.lookup(treeoid,typeof (Ggit.Tree)) as Ggit.Tree; var sig = new Ggit.Signature.now( - Ggit.Config.get_string("user.name"), - Ggit.Config.get_string("user.email") + this.repo.get_config().get_string("user.name"), + this.repo.get_config().get_string("user.email") ); - a.repo.create_commit("HEAD", sig, sig, null, "test commit " + str, new_tree, parents); + this.repo.create_commit("HEAD", sig, sig, null, "test commit " + str, new_tree, parents);