fix this odd case
This commit is contained in:
parent
f4838d7500
commit
92be907bce
|
@ -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})
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue