diff options
| author | Jeff Carr <[email protected]> | 2025-09-22 19:21:41 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-09-22 19:21:41 -0500 |
| commit | 31db2f96f6c3a1567f40128193824113692f3334 (patch) | |
| tree | 0bd2017efa4872ad6a9905e8924b4c4064f6f6d4 /doTag.go | |
| parent | 3a967eac13ecfd8093102e236630bba0589efc27 (diff) | |
more work on autocompletev0.25.14
Diffstat (limited to 'doTag.go')
| -rw-r--r-- | doTag.go | 12 |
1 files changed, 7 insertions, 5 deletions
@@ -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 } } |
