summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--find.go8
1 files changed, 5 insertions, 3 deletions
diff --git a/find.go b/find.go
index 2022a43..19d0da5 100644
--- a/find.go
+++ b/find.go
@@ -217,11 +217,11 @@ func cloneReposWithPatches() *gitpb.Repos {
continue
}
if repo.IsLocalBranchVerbose(repo.GetUserBranchName()) {
- log.Info(repo.FullPath, "BRANCH IS LOCAL", THEBRANCH)
+ log.Info(repo.FullPath, "BRANCH IS LOCAL:", THEBRANCH)
// everthing is actually normal
continue
} else {
- log.Info(repo.FullPath, "BRANCH IS NOT LOCAL", THEBRANCH)
+ log.Info(repo.FullPath, "BRANCH IS NOT LOCAL:", THEBRANCH)
repo.RunVerbose([]string{"bash", "-c", "git show-ref |grep -v tags"})
}
stop += 1
@@ -230,7 +230,9 @@ func cloneReposWithPatches() *gitpb.Repos {
log.Info("pb thinks it has:", repo.Namespace, t.Refname)
}
} else {
- panic("stop")
+ repo.ReloadForce()
+ me.forge.Repos.SaveSafe()
+ panic("stop. run 'forge fixer porcelein' and see what happens")
}
// no user branch
r := found.Clone(repo)