Fix #5560 - Gitlive - branching wip
authorAlan Knowles <alan@roojs.com>
Wed, 7 Nov 2018 07:08:50 +0000 (15:08 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 7 Nov 2018 07:08:50 +0000 (15:08 +0800)
GitRepo.vala

index 90b7a09..cdb73b9 100644 (file)
@@ -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());
        
        
     }