From 692701c60489cb64a1ee3a6870234a806e674cb9 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Tue, 30 Oct 2018 15:41:48 +0800 Subject: [PATCH] GitRepo.vala --- GitRepo.vala | 3 +++ 1 file changed, 3 insertions(+) diff --git a/GitRepo.vala b/GitRepo.vala index e9851603..10e6447a 100644 --- a/GitRepo.vala +++ b/GitRepo.vala @@ -160,6 +160,9 @@ public class GitRepo : Object continue; } branches.set(br.realName(), br); + if (br.active) { + this.currentBranch = br; + } } } -- 2.39.2