projects
/
gitlive
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
41d3ea8
)
Git.vala
author
Alan Knowles
<alan@roojs.com>
Wed, 13 Mar 2019 06:07:07 +0000
(14:07 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 13 Mar 2019 06:07:07 +0000
(14:07 +0800)
Git.vala
patch
|
blob
|
history
diff --git
a/Git.vala
b/Git.vala
index
4909e15
..
2a3cb8a
100644
(file)
--- a/
Git.vala
+++ b/
Git.vala
@@
-67,8
+67,12
@@
namespace GitLive {
public Gee.ArrayList<Git.Branch> branches()
{
- this.repo.enumerate_branches(Ggit.BranchType.LOCAL);
-
+ var r = this.repo.enumerate_branches(Ggit.BranchType.LOCAL);
+ while (r.next()) {
+ var ref = r.get();
+ GLib.debug("got branch: name = %s ", ref.get_name());
+
+ }
}