summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-09-25 15:51:05 -0500
committerJeff Carr <[email protected]>2025-09-25 15:51:05 -0500
commit92be907bce6fd28a1e49a54b318c2b44ffefaa2a (patch)
tree17061a29f3c827cf8a72c65a9cd58c16e61b8831
parentf4838d750004b951c6e2f3affab44560a2827b19 (diff)
fix this odd casev0.25.29
-rw-r--r--doNormal.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/doNormal.go b/doNormal.go
index 9838d25..33cbcf6 100644
--- a/doNormal.go
+++ b/doNormal.go
@@ -39,6 +39,7 @@ func doNormal() bool {
s := fmt.Sprintf("repair the %s branch on %s", bname, repo.FullPath)
if fhelp.QuestionUser(s) {
// todo, check to make sure we aren't on this branch
+ repo.RunVerbose([]string{"git", "checkout", repo.GetMasterBranchName()})
repo.RunVerbose([]string{"git", "branch", "-D", bname})
repo.RunVerbose([]string{"git", "checkout", bname})
}