瀏覽代碼

Fixes missing full message & files on details view

main
Eric Amodio 2 年之前
父節點
當前提交
9bf200b276
共有 2 個檔案被更改,包括 2 行新增1 行删除
  1. +1
    -0
      CHANGELOG.md
  2. +1
    -1
      src/webviews/commitDetails/commitDetailsWebviewView.ts

+ 1
- 0
CHANGELOG.md 查看文件

@ -13,6 +13,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
### Fixed
- Fixes [#2271](https://github.com/gitkraken/vscode-gitlens/issues/2271) - Terminal commands should wrap path with quote to deal with path contains space
- Fixes an issue where the _Commit Details_ view fails to show the full commit message and changed files when following editor lines
## [13.0.2] - 2022-10-17

+ 1
- 1
src/webviews/commitDetails/commitDetailsWebviewView.ts 查看文件

@ -626,7 +626,7 @@ export class CommitDetailsWebviewView extends WebviewViewBase
private async getDetailsModel(commit: GitCommit, formattedMessage?: string): Promise<CommitDetails> {
const [commitResult, avatarUriResult, remoteResult] = await Promise.allSettled([
!commit.hasFullDetails ? commit.ensureFullDetails().then(() => commit) : commit,
!commit.hasFullDetails() ? commit.ensureFullDetails().then(() => commit) : commit,
commit.author.getAvatarUri(commit),
this.container.git.getBestRemoteWithRichProvider(commit.repoPath, { includeDisconnected: true }),
]);

Loading…
取消
儲存