From: Alan Knowles Date: Wed, 20 Mar 2019 08:23:06 +0000 (+0800) Subject: Git.vala X-Git-Url: http://git.roojs.org/?p=gitlive;a=commitdiff_plain;h=4fdbd54787d5055cd35f8b58dd1c004bda2999e0 Git.vala --- diff --git a/Git.vala b/Git.vala index dab9d5da..b62439e3 100644 --- a/Git.vala +++ b/Git.vala @@ -23,7 +23,7 @@ void main() GLib.Timeout.add (1, () => { GLib.debug("Meanwhile"); return true; - }, GLib.Priority.DEFAULT); + }, GLib.Priority.HIGH); var loop = new MainLoop(); @@ -313,6 +313,7 @@ namespace GitLive { } var r = this.repo.lookup_remote("origin"); r.connect(Ggit.Direction.FETCH, this.callbacks, null, null); + yield; this.remote_heads = r.list(); foreach(var br in this.remote_heads) {