X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=GitRepo.vala;h=b5e9ad0b775b1a923caebc778064d67f03a5a835;hb=4ef0ac118072715407907c93a38120afc117af77;hp=989a32b578ed769439db547bc0a07033032dbc0a;hpb=94f1d8f296b079dfade7a818a516d400860890bd;p=gitlive diff --git a/GitRepo.vala b/GitRepo.vala index 989a32b5..b5e9ad0b 100644 --- a/GitRepo.vala +++ b/GitRepo.vala @@ -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.