summaryrefslogtreecommitdiff
path: root/find.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-13 06:46:05 -0500
committerJeff Carr <[email protected]>2025-10-13 06:46:05 -0500
commitea635c9b9daafce680552a342f9979c82c98fdb8 (patch)
treee31055a8c2c334290e55c38e9926f9e49a6fee6c /find.go
parent483eaad4694cfba3f9d8de31313356b819433885 (diff)
more debugging
Diffstat (limited to 'find.go')
-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)