GitBranch.vala
[gitlive] / GitBranch.vala
index f7514e5..478f8e0 100644 (file)
@@ -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);