GitBranch.vala
[gitlive] / GitBranch.vala
1 /**
2 represent a git branch..
3
4 */
5
6 public class GitBranch : Object
7 {
8         public GitRepo repo;
9         
10         public bool active = false;
11         public string lastrev;
12         public string name;
13         public string remote:
14         public string remoterev;
15         
16         public GitBranch(GitRepo repo)
17         {
18                 this.repo = repo;
19         }
20
21         public bool parseBranchListItem(str)
22         {
23                 if (!str.length) {
24                         return false;
25                 }
26                 if (
27                 
28                 var bits = Regex.split_simple ("[ \t]+", str);
29
30                 
31         
32         
33         }