GitRepo.vala
[gitlive] / GitRepo.vala
index 989a32b..b5e9ad0 100644 (file)
@@ -186,6 +186,20 @@ public class GitRepo : Object
        
     }
     
+    public void setActiveTicket(RooTicket ticket, string branchname)
+    {
+       
+    
+    }
+    
+    public void createBranchNamed(string branchname)
+    {
+        string[] cmd = { "checkout", "-b" , branchname  };
+        this.git(cmd);
+        this.loadBranches(); // update branch list...
+    }
+    
+    
     /**
      * add:
      * add files to track.