浏览代码

Fixes #1423 - missing -m on tag create

main
Eric Amodio 3 年前
父节点
当前提交
178226b376
共有 2 个文件被更改,包括 2 次插入1 次删除
  1. +1
    -0
      CHANGELOG.md
  2. +1
    -1
      src/commands/git/tag.ts

+ 1
- 0
CHANGELOG.md 查看文件

@ -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 查看文件

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

正在加载...
取消
保存