projects
/
gitlive
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
17864c5
)
GitBranch.vala
author
Alan Knowles
<alan@roojs.com>
Tue, 30 Oct 2018 07:10:49 +0000
(15:10 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 30 Oct 2018 07:10:49 +0000
(15:10 +0800)
GitBranch.vala
patch
|
blob
|
history
diff --git
a/GitBranch.vala
b/GitBranch.vala
index
f7514e5
..
478f8e0
100644
(file)
--- a/
GitBranch.vala
+++ b/
GitBranch.vala
@@
-23,7
+23,7
@@
public class GitBranch : Object
if (!str.length) {
return false;
}
- if (
+ this.active = str[0] == '*';
var bits = Regex.split_simple ("[ \t]+", str);