From 49c94bf18dd627b631eccee2464a4a402723ffd7 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Wed, 20 Mar 2019 16:11:49 +0800 Subject: [PATCH] Git.vala --- Git.vala | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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; + } -- 2.39.2