also re-scan .git/config on rs.Update()

Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2024-02-02 16:36:51 -06:00
parent 118825e7a3
commit abb1f0ea21
1 changed files with 3 additions and 0 deletions

View File

@ -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()