From abb1f0ea214d3c5e8a895b42f4e1352ede4ecca4 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Fri, 2 Feb 2024 16:36:51 -0600 Subject: [PATCH] also re-scan .git/config on rs.Update() Signed-off-by: Jeff Carr --- update.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/update.go b/update.go index 1d34dd1..4ba269d 100644 --- a/update.go +++ b/update.go @@ -144,6 +144,9 @@ func (rs *RepoStatus) UpdateCurrent() { rs.populateTags() rs.CheckDirty() + // read in the .git/config each update + rs.readGitConfig() + // this looks into .git somewhat rs.CheckBranches()