var branches = new Gee.HashMap<string,GitBranch>();
var local = new Gee.HashMap<string,GitBranch>();
var remotes = new Gee.HashMap<string,GitBranch>();
-
-
+
repo.repo.loadRemoteHeads();
}
public void loadRemoteHeads(bool force = false)
- {
-
- if (!force && this.remote_heads != null) {
- return;
- }
- var r = this.repo.lookup_remote("origin");
- var cb = new GitCallbacks(this);
- r.connect(Ggit.Direction.FETCH, cb, null, null);
- this.remote_heads = r.list();
+ {
+ if (!force && this.remote_heads != null) {
+ return;
}
+ var r = this.repo.lookup_remote("origin");
+ var cb = new GitCallbacks(this);
+ r.connect(Ggit.Direction.FETCH, cb, null, null);
+ this.remote_heads = r.list();
+
+ }
}