deleted a few tags
Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
parent
ed5857af77
commit
fb162b968a
|
@ -71,18 +71,21 @@ func makeTagWindow() *tagWindow {
|
|||
if tagsW == nil {
|
||||
repo.status.TagWindow()
|
||||
tagsW = repo.status.TagsW
|
||||
tagsW.PruneSmart()
|
||||
continue
|
||||
}
|
||||
tagsW.PruneSmart()
|
||||
deleteTags := tagsW.List()
|
||||
for _, t := range deleteTags {
|
||||
if me.autoDryRun.Checked() {
|
||||
log.Info("delete tag --dry-run:", t.TagString(), "from", repo.status.String())
|
||||
} else {
|
||||
log.Info("Deleting tag:", t.TagString(), "from", repo.status.String())
|
||||
// tagsW.Delete(t)
|
||||
tagsW.Delete(t)
|
||||
}
|
||||
}
|
||||
if ! me.autoDryRun.Checked() {
|
||||
return
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
|
|
Loading…
Reference in New Issue