Skip to content

Commit

Permalink
Fixes #1423 - missing -m on tag create
Browse files Browse the repository at this point in the history
  • Loading branch information
eamodio committed Apr 7, 2021
1 parent 8522880 commit 178226b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p

### Fixed

- Fixes [1423](https://github.com/eamodio/vscode-gitlens/issues/1423) - Create tag with message fails
- Fixes [1428](https://github.com/eamodio/vscode-gitlens/issues/1428) - Incorrect branch name when no commits exist on new repo
- Fixes [1444](https://github.com/eamodio/vscode-gitlens/issues/1444) - File history view "Open Changes with Working File" does not work for the very first commit
- Fixes [1448](https://github.com/eamodio/vscode-gitlens/issues/1448) - Hashes (#) are percent encoded in custom remote urls
Expand Down
2 changes: 1 addition & 1 deletion src/commands/git/tag.ts
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ export class TagGitCommand extends QuickCommand<State> {
QuickCommand.endSteps(state);
void state.repo.tag(
...state.flags,
...(state.message.length !== 0 ? [`"${state.message}"`] : []),
...(state.message.length !== 0 ? ['-m', `"${state.message}"`] : []),
state.name,
state.reference.ref,
);
Expand Down

0 comments on commit 178226b

Please sign in to comment.