summaryrefslogtreecommitdiff
path: root/doTag.go
diff options
context:
space:
mode:
Diffstat (limited to 'doTag.go')
-rw-r--r--doTag.go12
1 files changed, 7 insertions, 5 deletions
diff --git a/doTag.go b/doTag.go
index 161a581..90c3ec1 100644
--- a/doTag.go
+++ b/doTag.go
@@ -56,13 +56,15 @@ func doTag() error {
}
// check if the git tag already exists somehow
+ /*
+ if !repo.LocalTagExists(testtag) {
+ log.Info("Tag", testtag, "does not exist")
+ return log.Errorf("%s TAG DOES NOT EXIST %s", repo.FullPath, testtag)
+ }
+ */
testtag := argv.Tag.Delete
- if !repo.LocalTagExists(testtag) {
- log.Info("Tag", testtag, "does not exist")
- return log.Errorf("%s TAG DOES NOT EXIST %s", repo.FullPath, testtag)
- }
if !argv.Force {
- if !fhelp.QuestionUser("delete this tag?") {
+ if !fhelp.QuestionUser(log.Sprintf("delete tag '%s'?", testtag)) {
return nil
}
}