From c7d0ad609b3b1d03e2461fa226804ef0e3876ab1 Mon Sep 17 00:00:00 2001 From: Eric Amodio Date: Mon, 7 Nov 2022 13:25:57 -0500 Subject: [PATCH] Opens details view on sha click --- src/webviews/rebase/rebaseEditor.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/webviews/rebase/rebaseEditor.ts b/src/webviews/rebase/rebaseEditor.ts index 15ddebf..3f607cd 100644 --- a/src/webviews/rebase/rebaseEditor.ts +++ b/src/webviews/rebase/rebaseEditor.ts @@ -1,7 +1,7 @@ import type { CancellationToken, CustomTextEditorProvider, TextDocument, WebviewPanel } from 'vscode'; import { ConfigurationTarget, Disposable, Position, Range, Uri, window, workspace, WorkspaceEdit } from 'vscode'; import { getNonce } from '@env/crypto'; -import { ShowQuickCommitCommand } from '../../commands'; +import { ShowCommitsInViewCommand } from '../../commands'; import { GitActions } from '../../commands/gitCommands.actions'; import { configuration } from '../../configuration'; import { CoreCommands } from '../../constants'; @@ -585,7 +585,7 @@ export class RebaseEditorProvider implements CustomTextEditorProvider, Disposabl } const defaultDateFormat = configuration.get('defaultDateFormat'); - const command = ShowQuickCommitCommand.getMarkdownCommandArgs(`\${commit}`, context.repoPath); + const command = ShowCommitsInViewCommand.getMarkdownCommandArgs(`\${commit}`, context.repoPath); const ontoCommit = onto ? context.commits?.find(c => c.sha.startsWith(onto)) : undefined;