Skip to content

Commit 17cdb69

Browse files
authored
Allow empty tag message in git (microsoft#106751)
1 parent f62d21c commit 17cdb69

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

extensions/git/src/commands.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1867,8 +1867,7 @@ export class CommandCenter {
18671867
});
18681868

18691869
const name = inputTagName.replace(/^\.|\/\.|\.\.|~|\^|:|\/$|\.lock$|\.lock\/|\\|\*|\s|^\s*$|\.$/g, '-');
1870-
const message = inputMessage || name;
1871-
await repository.tag(name, message);
1870+
await repository.tag(name, inputMessage);
18721871
}
18731872

18741873
@command('git.deleteTag', { repository: true })

0 commit comments

Comments
 (0)