diff --git a/src/git/formatters/commitFormatter.ts b/src/git/formatters/commitFormatter.ts index a62b114..328cf14 100644 --- a/src/git/formatters/commitFormatter.ts +++ b/src/git/formatters/commitFormatter.ts @@ -6,6 +6,7 @@ import type { OpenPullRequestActionContext, } from '../../api/gitlens'; import { getPresenceDataUri } from '../../avatars'; +import type { ShowQuickCommitCommandArgs } from '../../commands'; import { ConnectRemoteProviderCommand, DiffWithCommand, @@ -430,6 +431,15 @@ export class CommitFormatter extends Formatter { )} "Open Blame Prior to this Change")`; } + commands += `  [$(search)](${Command.getMarkdownCommandArgsCore( + Commands.RevealCommitInView, + { + repoPath: this._item.repoPath, + sha: this._item.sha, + revealInView: true, + }, + )} "Reveal in Side Bar")`; + if (arePlusFeaturesEnabled()) { commands += `  [$(gitlens-graph)](${Command.getMarkdownCommandArgsCore( Commands.ShowInCommitGraph,