Skip to content

Commit 178226b

Browse files
committed
Fixes #1423 - missing -m on tag create
1 parent 8522880 commit 178226b

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
1818

1919
### Fixed
2020

21+
- Fixes [1423](https://github.com/eamodio/vscode-gitlens/issues/1423) - Create tag with message fails
2122
- Fixes [1428](https://github.com/eamodio/vscode-gitlens/issues/1428) - Incorrect branch name when no commits exist on new repo
2223
- 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
2324
- Fixes [1448](https://github.com/eamodio/vscode-gitlens/issues/1448) - Hashes (#) are percent encoded in custom remote urls

src/commands/git/tag.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ export class TagGitCommand extends QuickCommand<State> {
261261
QuickCommand.endSteps(state);
262262
void state.repo.tag(
263263
...state.flags,
264-
...(state.message.length !== 0 ? [`"${state.message}"`] : []),
264+
...(state.message.length !== 0 ? ['-m', `"${state.message}"`] : []),
265265
state.name,
266266
state.reference.ref,
267267
);

0 commit comments

Comments
 (0)