Skip to content

Commit 9bf200b

Browse files
committed
Fixes missing full message & files on details view
1 parent dda480b commit 9bf200b

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
1313
### Fixed
1414

1515
- Fixes [#2271](https://github.com/gitkraken/vscode-gitlens/issues/2271) - Terminal commands should wrap path with quote to deal with path contains space
16+
- Fixes an issue where the _Commit Details_ view fails to show the full commit message and changed files when following editor lines
1617

1718
## [13.0.2] - 2022-10-17
1819

src/webviews/commitDetails/commitDetailsWebviewView.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -626,7 +626,7 @@ export class CommitDetailsWebviewView extends WebviewViewBase<State, Serialized<
626626

627627
private async getDetailsModel(commit: GitCommit, formattedMessage?: string): Promise<CommitDetails> {
628628
const [commitResult, avatarUriResult, remoteResult] = await Promise.allSettled([
629-
!commit.hasFullDetails ? commit.ensureFullDetails().then(() => commit) : commit,
629+
!commit.hasFullDetails() ? commit.ensureFullDetails().then(() => commit) : commit,
630630
commit.author.getAvatarUri(commit),
631631
this.container.git.getBestRemoteWithRichProvider(commit.repoPath, { includeDisconnected: true }),
632632
]);

0 commit comments

Comments
 (0)