summaryrefslogtreecommitdiff
path: root/update.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-02-02 16:36:51 -0600
committerJeff Carr <[email protected]>2024-02-02 16:36:51 -0600
commitabb1f0ea214d3c5e8a895b42f4e1352ede4ecca4 (patch)
tree6a8ff8cd4d1cfccf2682faa5cf9e9cc4c55f2442 /update.go
parent118825e7a3f4d428d27f466a204b229ce28f5fd0 (diff)
also re-scan .git/config on rs.Update()v0.19.2
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'update.go')
-rw-r--r--update.go3
1 files changed, 3 insertions, 0 deletions
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()