);
Ggit.init();
-
-
+ var a = new GitLive.Repo("/home/alan/gitlive/web.coba");
+ a.fetchAll();
+ return;
+ /*
GLib.Timeout.add (1, () => {
GLib.debug("Meanwhile");
return true;
var br = r.get() as Ggit.Branch;
if (br == null) {
continue;
- }
+ }
+ if (br.is_tag()) {
+ continue;
+ }
//var head = this.repo.revparse("refs/heads/" + br.get_name() ).get_id();
//var rhead = this.repo.revparse(br.get_upstream().get_name() ).get_id();
}
GLib.debug("Remote: name=%s oid=%s local_oid=%s is_local=%s",
- br.get_name().substring(11),
+ br.get_name(),
br.get_oid().to_string(),
br.get_local_oid().to_string(),
br.is_local() ? "Y" : "n"
Idle.add((owned) callback);
return true;;
};
- new Thread<bool>("thread-example", run);
+ new Thread<bool>("loadRemoteHeads-" + this.repo.name, run);
yield;