projects
/
gitlive
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a2f5eb7
)
GitRepo.vala
author
Alan Knowles
<alan@roojs.com>
Tue, 30 Oct 2018 07:34:37 +0000
(15:34 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 30 Oct 2018 07:34:37 +0000
(15:34 +0800)
GitRepo.vala
patch
|
blob
|
history
diff --git
a/GitRepo.vala
b/GitRepo.vala
index
e7850a4
..
0b78980
100644
(file)
--- a/
GitRepo.vala
+++ b/
GitRepo.vala
@@
-151,8
+151,13
@@
public class GitRepo : Object
public void loadBranches()
{
- string[] cmd = { "
add", f
};
+ string[] cmd = { "
branch", "--no-color", "--verbose", "--no-abbrev" , "-a"
};
var res = this.git( cmd );
+ var lines = res.split("\n");
+ for (var i = 0; i < lines.length ; i++) {
+ var br = new GitBranch(this);
+ br.
+ }
}