소스 검색

Opens details view on sha click

main
Eric Amodio 2 년 전
부모
커밋
c7d0ad609b
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. +2
    -2
      src/webviews/rebase/rebaseEditor.ts

+ 2
- 2
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;

불러오는 중...
취소
저장