sync
authorAlan <alan@roojs.com>
Sat, 9 Mar 2019 04:36:40 +0000 (12:36 +0800)
committerAlan <alan@roojs.com>
Sat, 9 Mar 2019 04:36:40 +0000 (12:36 +0800)
Git.vala

index 63d7dc4..408af71 100644 (file)
--- a/Git.vala
+++ b/Git.vala
@@ -20,6 +20,7 @@ void main()
        Ggit.init();
        var a = new GitLive.Repo("/home/alan/gitlive/web.Texon");
        a.fetchAll();
+       a.pushAll();
 }
  
 
@@ -100,8 +101,8 @@ namespace  GitLive {
                                        GLib.debug("got remote spec: %s", rs);
                                        
                                }
-
-                               r.update_tips(this.callbacks, true);
+                               var popts = new Ggit.PushOptions();
+                               r.upload(fars, popts);
                                r.disconnect();