Added support for git tag -d <tag> and fixed a bug where a duplicate tag name wouldn't show in the error-msg

This commit is contained in:
Lukas Schmid 2019-09-04 16:47:24 +02:00
parent 251ec17ed9
commit b281d1d76c
3 changed files with 53 additions and 1 deletions

View file

@ -686,7 +686,7 @@ GitEngine.prototype.validateAndMakeTag = function(id, target) {
throw new GitError({
msg: intl.str(
'bad-tag-name',
{ tag: name }
{ tag: id }
)
});
}