Git.vala
authorAlan Knowles <alan@roojs.com>
Thu, 7 Mar 2019 08:03:06 +0000 (16:03 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 7 Mar 2019 08:03:06 +0000 (16:03 +0800)
Git.vala

index 6c67a70..f7dcb6f 100644 (file)
--- a/Git.vala
+++ b/Git.vala
@@ -64,8 +64,10 @@ namespace  Git {
                                }
                                var options = new Ggit.FetchOptions();
                                options.set_remote_callbacks(this.callbacks);
-                               r.download(far, options);
-                               
+                               yield Async.thread(() => {
+       
+                                       r.download(far, options);
+                               });
                                r.disconnect();
                                
                                //r.download(