Ver código fonte

Fixes #1423 - missing -m on tag create

main
Eric Amodio 3 anos atrás
pai
commit
178226b376
2 arquivos alterados com 2 adições e 1 exclusões
  1. +1
    -0
      CHANGELOG.md
  2. +1
    -1
      src/commands/git/tag.ts

+ 1
- 0
CHANGELOG.md Ver arquivo

@ -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

+ 1
- 1
src/commands/git/tag.ts Ver arquivo

@ -261,7 +261,7 @@ export class TagGitCommand extends QuickCommand {
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,
);

Carregando…
Cancelar
Salvar