From: Alan Knowles Date: Wed, 20 Mar 2019 08:11:49 +0000 (+0800) Subject: Git.vala X-Git-Url: http://git.roojs.org/?p=gitlive;a=commitdiff_plain;h=49c94bf18dd627b631eccee2464a4a402723ffd7 Git.vala --- diff --git a/Git.vala b/Git.vala index 91aeb666..d630e535 100644 --- a/Git.vala +++ b/Git.vala @@ -303,7 +303,7 @@ namespace GitLive { ThreadFunc run = () => { if (!force && this.remote_heads != null) { - return; + return true;; } var r = this.repo.lookup_remote("origin"); r.connect(Ggit.Direction.FETCH, this.callbacks, null, null); @@ -322,9 +322,11 @@ namespace GitLive { ); } Idle.add((owned) callback); + return true;; }; new Thread("thread-example", run); yield; + }