projects
/
gitlive
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ab55da
)
GitRepo.vala
author
Alan Knowles
<alan@roojs.com>
Wed, 20 Mar 2019 06:47:19 +0000
(14:47 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 20 Mar 2019 06:47:19 +0000
(14:47 +0800)
GitBranch.vala
GitBranch.vala
patch
|
blob
|
history
GitRepo.vala
patch
|
blob
|
history
diff --git
a/GitBranch.vala
b/GitBranch.vala
index
3561793
..
ef8f65f
100644
(file)
--- a/
GitBranch.vala
+++ b/
GitBranch.vala
@@
-72,8
+72,7
@@
public class GitBranch : Object
repo.repo.loadRemoteHeads();
-
-
+
var r = repo.repo.enumerate_branches(Ggit.BranchType.LOCAL);
while (r.next()) {
var br = r.get() as Ggit.Branch;
diff --git
a/GitRepo.vala
b/GitRepo.vala
index
6f669c2
..
ef3d289
100644
(file)
--- a/
GitRepo.vala
+++ b/
GitRepo.vala
@@
-989,7
+989,8
@@
public class GitRepo : Object
return;
}
var r = this.repo.lookup_remote("origin");
- r.connect(Ggit.Direction.FETCH, this.callbacks, null, null);
+ var cb = new GitCallbacks(this);
+ r.connect(Ggit.Direction.FETCH, cb, null, null);
this.remote_heads = r.list();
}