Przeglądaj źródła

Fixes #1423 - missing -m on tag create

main
Eric Amodio 3 lat temu
rodzic
commit
178226b376
2 zmienionych plików z 2 dodań i 1 usunięć
  1. +1
    -0
      CHANGELOG.md
  2. +1
    -1
      src/commands/git/tag.ts

+ 1
- 0
CHANGELOG.md Wyświetl plik

@ -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 Wyświetl plik

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

Ładowanie…
Anuluj
Zapisz