mirror of
https://github.com/Microsoft/vscode
synced 2024-10-05 19:02:54 +00:00
Allow empty tag message in git (#106751)
This commit is contained in:
parent
f62d21ce88
commit
17cdb69891
|
@ -1867,8 +1867,7 @@ export class CommandCenter {
|
|||
});
|
||||
|
||||
const name = inputTagName.replace(/^\.|\/\.|\.\.|~|\^|:|\/$|\.lock$|\.lock\/|\\|\*|\s|^\s*$|\.$/g, '-');
|
||||
const message = inputMessage || name;
|
||||
await repository.tag(name, message);
|
||||
await repository.tag(name, inputMessage);
|
||||
}
|
||||
|
||||
@command('git.deleteTag', { repository: true })
|
||||
|
|
Loading…
Reference in a new issue