ThreadFunc<bool> 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);
);
}
Idle.add((owned) callback);
+ return true;;
};
new Thread<bool>("thread-example", run);
yield;
+
}