From 9bf200b276165c736056053451b35e23e31c8064 Mon Sep 17 00:00:00 2001 From: Eric Amodio Date: Tue, 18 Oct 2022 22:17:23 -0400 Subject: [PATCH] Fixes missing full message & files on details view --- CHANGELOG.md | 1 + src/webviews/commitDetails/commitDetailsWebviewView.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6cb05fd..2abd9df 100644 --- a/CHANGELOG.md +++ b/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 diff --git a/src/webviews/commitDetails/commitDetailsWebviewView.ts b/src/webviews/commitDetails/commitDetailsWebviewView.ts index d2ca895..bc3d61b 100644 --- a/src/webviews/commitDetails/commitDetailsWebviewView.ts +++ b/src/webviews/commitDetails/commitDetailsWebviewView.ts @@ -626,7 +626,7 @@ export class CommitDetailsWebviewView extends WebviewViewBase { 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 }), ]);