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

index 5790638..0447eee 100644 (file)
--- 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)