Sfoglia il codice sorgente

Fixes #1423 - missing -m on tag create

main
Eric Amodio 3 anni fa
parent
commit
178226b376
2 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. +1
    -0
      CHANGELOG.md
  2. +1
    -1
      src/commands/git/tag.ts

+ 1
- 0
CHANGELOG.md Vedi File

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

@ -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,
);

Caricamento…
Annulla
Salva