0

Option to always create annotated tags

griscom 1 month ago updated 2 weeks ago 1

Lightweight and annotated tags behave differently, and for my purposes I'd always like annotated tags, even with an empty description (due to their having their own independent timestamp). It would be great to have an option so that every created tag was an "annotated" tag, even if the annotation was empty.

Settings

I just found the "Remove 'annotated tag' checkbox" RFE from March 2017:


https://smartgit.userecho.com/communities/1/topics/1836-option-to-always-create-annotated-tags


That's been completed for a long time, and I understand the problem that this was trying to fix, but I think the fix was the wrong one. Instead of requiring "Message" to have text before creating an annotated tag, you should be allowed to create an annotated tag with an empty message. So:


  1. Restore the "annotated tag" checkbox
  2. If "annotated tag" is not checked, disable the "Message" field
  3. If "annotated tag" is checked, enable "Message" field, but do not require that it contain text. (I wouldn't even pop up a "You sure?" if empty; let's trust the developer.)