Patch Set 3:

@Remy Suen

Input validator was taken from BranchSelectionDialog.getRefNameInputDialog(), that is directly described in TagInputDialog source code.

I've also was wondering would it be better to have tag's and branches in one dialog or maybe split it into two separate dialog's/action's. As you see I've finally decided to keep it in one place, generally because branches and tag's ware already meshed up in one place. But maybe that is a good idea to separate it right now.

@Matthias Sohn

Yes, this is only implementation for annotated, unsigned tags. Good point I'll add this information to commit message on next push.

> What about deleting a tag ?
It is unsupported, same as branch deleting. In case of adding this feature I'll suggest to separate support for branch and tag's into two different action, as already Remy Suen suggested. What do you think?

> Tagging of non-HEAD commits isn't yet possible, right ?
I don't understood what you mean by "non-HEAD commits", could you explain that ?

> Wouldn't it be a good idea to also allow editing the tag message when renaming a tag ? This would be something like tag -f from command line git.
Yes, this also a good idea same as tag deleting. But in my humble opinion it would be better if that two new features would be added to separate dialog. Implementing it in BranchSelectionDialog class will increase it complexity.

> Show Resource history is broken by your change

I've didn't check "Resource history", my fault. I'll fix it.

I'll work on that patch this evening!