From e8499e2bf46fa56bf7706f18f589c3cfb1763753 Mon Sep 17 00:00:00 2001 From: Alan Date: Sat, 9 Mar 2019 12:39:40 +0800 Subject: [PATCH] sync --- Git.vala | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Git.vala b/Git.vala index 408af716..8f9483a7 100644 --- a/Git.vala +++ b/Git.vala @@ -1,5 +1,5 @@ -// valac -o /tmp/ggit Git.vala --pkg libgit2-glib-1.0 --pkg libsoup +// valac -o /tmp/ggit Git.vala --pkg libgit2-glib-1.0 --pkg libsoup-2.4 @@ -65,10 +65,10 @@ namespace GitLive { } var options = new Ggit.FetchOptions(); options.set_remote_callbacks(this.callbacks); - yield Async.thread(() => { + //yield Async.thread(() => { r.download(far, options); - }); + //}); r.disconnect(); //r.download( @@ -102,7 +102,9 @@ namespace GitLive { } var popts = new Ggit.PushOptions(); - r.upload(fars, popts); + GLib.debug("Push?"); + r.upload(far, popts); + GLib.debug("Push done?"); r.disconnect(); -- 2.39.2