From 9968190185d9dd287c8793d7bad773630f167e5d Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Tue, 30 Oct 2018 15:38:42 +0800 Subject: [PATCH] GitRepo.vala --- GitRepo.vala | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/GitRepo.vala b/GitRepo.vala index 0b789804..e9851603 100644 --- a/GitRepo.vala +++ b/GitRepo.vala @@ -156,7 +156,10 @@ public class GitRepo : Object var lines = res.split("\n"); for (var i = 0; i < lines.length ; i++) { var br = new GitBranch(this); - br. + if (!br.parseBranchListItem(lines[i])) { + continue; + } + branches.set(br.realName(), br); } } -- 2.39.2