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

index edc877a..c46c2d1 100644 (file)
--- a/Git.vala
+++ b/Git.vala
@@ -39,10 +39,11 @@ void main()
        
        var sig = new Ggit.Signature.now("Alan Knowles", "alan@roojs.com");
        a.repo.create_commit("HEAD", sig, sig, null, "test commit " + str, tree, parents);
+       
        // mmh.. no git add/commit in library...
-       string[] spawn_args = {"git", "commit", "-m", "test", "-a"};
-       string[] spawn_env = Environ.get ();
-       Process.spawn_sync ("/home/alan/git/test1-clone", spawn_args, spawn_env, SpawnFlags.SEARCH_PATH, null);
+//     string[] spawn_args = {"git", "commit", "-m", "test", "-a"};
+       //string[] spawn_env = Environ.get ();
+//     Process.spawn_sync ("/home/alan/git/test1-clone", spawn_args, spawn_env, SpawnFlags.SEARCH_PATH, null);
  
        a.pushAll();
 }