public string remoterev = "";
public string age = "";
- Ggit.RemoteHead[] remote_heads = null;
+
public string toString()
{
this.repo = repo;
}
- public void loadRemoteHeads(bool force = false)
- {
-
- if (!force && this.remote_heads != null) {
- return;
- }
- var r = this.repo.lookup_remote("origin");
- r.connect(Ggit.Direction.FETCH, this.callbacks, null, null);
- this.remote_heads = r.list();
-
- }
var remotes = new Gee.HashMap<string,GitBranch>();
- this.loadLocalBranches();
+ this.repo.repo.loadLocalBranches();
this.loadRemoteHeads();