From: Alan Knowles Date: Tue, 12 Mar 2019 07:42:25 +0000 (+0800) Subject: Git.vala X-Git-Url: http://git.roojs.org/?a=commitdiff_plain;h=c59996fbdeb1551a52bade482aee75541dafaed1;p=gitlive Git.vala --- diff --git a/Git.vala b/Git.vala index 5790638f..0447eee7 100644 --- a/Git.vala +++ b/Git.vala @@ -24,6 +24,7 @@ void main() GLib.FileUtils.set_contents("/home/alan/git/test1-clone/test1", (new GLib.DateTime.now_utc()).format("%Y-%m-%d %H:%M:%S") ); + this.repo.repo // mmh.. no git add/commit in library... string[] spawn_args = {"git", "commit", "-m", "test", "-a"}; string[] spawn_env = Environ.get (); @@ -37,7 +38,7 @@ namespace GitLive { public class Repo : Object { - Ggit.Repository repo; + public Ggit.Repository repo; Callbacks callbacks; public Repo(string path)