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 {
|
if tagsW == nil {
|
||||||
repo.status.TagWindow()
|
repo.status.TagWindow()
|
||||||
tagsW = repo.status.TagsW
|
tagsW = repo.status.TagsW
|
||||||
tagsW.PruneSmart()
|
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
tagsW.PruneSmart()
|
||||||
deleteTags := tagsW.List()
|
deleteTags := tagsW.List()
|
||||||
for _, t := range deleteTags {
|
for _, t := range deleteTags {
|
||||||
if me.autoDryRun.Checked() {
|
if me.autoDryRun.Checked() {
|
||||||
log.Info("delete tag --dry-run:", t.TagString(), "from", repo.status.String())
|
log.Info("delete tag --dry-run:", t.TagString(), "from", repo.status.String())
|
||||||
} else {
|
} else {
|
||||||
log.Info("Deleting tag:", t.TagString(), "from", repo.status.String())
|
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