X-Git-Url: http://git.roojs.org/?p=gitlive;a=blobdiff_plain;f=GitRepo.vala;h=ec10a014251de51ad6245dceb1b9b621b406da0b;hp=90b7a09ba8e4687ee357ca66aa3a2c30361bc041;hb=2a6a46caf4f1d149a8e72cb0fb0c90f9923a27bb;hpb=fcd17d271ecf0fb9066cb0d8d2c6a13852dae53a diff --git a/GitRepo.vala b/GitRepo.vala index 90b7a09b..ec10a014 100644 --- a/GitRepo.vala +++ b/GitRepo.vala @@ -338,7 +338,7 @@ public class GitRepo : Object } return false; } - + public void loadActiveTicket() { this.activeTicket = null; @@ -350,7 +350,7 @@ public class GitRepo : Object if (ticket_id.length < 1) { return; } - this.activeTicket = RooTicket.singleton().getById(ticket_id); + this.activeTicket = RooTicket.singleton().getById(ticket_id.strip()); } @@ -612,7 +612,7 @@ public class GitRepo : Object public string push () throws Error, SpawnError { // should - return this.git({ "push", "--all" }); + return this.git({ "push" }); }