delete these odd branches
This commit is contained in:
parent
643c9c9220
commit
3bdf0143be
|
@ -187,6 +187,12 @@ func doRepoCleanDevel(repo *gitpb.Repo) error {
|
|||
}
|
||||
if err := justDeleteTheDevelBranchAlready(repo); err != nil {
|
||||
log.Info("justDeleteTheDevel() err", repo.GetGoPath(), err)
|
||||
bname := repo.GetDevelBranchName()
|
||||
s := fmt.Sprintf("delete this odd devel %bname branch %s?", bname, repo.FullPath)
|
||||
if fhelp.QuestionUser(s) {
|
||||
repo.RunVerbose([]string{"git", "branch", "-D", bname})
|
||||
// repo.RunVerbose([]string{"git", "checkout", bname})
|
||||
}
|
||||
configSave = true
|
||||
return err
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue