summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doFix.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/doFix.go b/doFix.go
index 7249dd5..dbe2f9b 100644
--- a/doFix.go
+++ b/doFix.go
@@ -44,6 +44,9 @@ func doFix() (string, error) {
log.Info("GET PORCELAIN SENT BACK", s, err)
for repo := range me.forge.Repos.IterByFullPath() {
curbranch := repo.GetCurrentBranchName()
+ repo.RunVerbose([]string{"bash", "-c", "git show-ref |grep -v tags"})
+ repo.ReloadForce()
+ repo.RunVerbose([]string{"bash", "-c", "git show-ref |grep -v tags"})
if repo.IsLocalBranch(curbranch) {
log.Info(repo.FullPath, "SEEMS TO HAVE A '", curbranch, "' LOCAL BRANCH")
continue