File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
src/extension/prompts/node/git Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 22 * Copyright (c) Microsoft Corporation. All rights reserved.
33 * Licensed under the MIT License. See License.txt in the project root for license information.
44 *--------------------------------------------------------------------------------------------*/
5- import { BasePromptElementProps , PromptElement , PromptReference } from '@vscode/prompt-tsx' ;
5+ import { BasePromptElementProps , PromptElement } from '@vscode/prompt-tsx' ;
66import { Diff } from '../../../../platform/git/common/gitDiffService' ;
77import { basename } from '../../../../util/vs/base/common/path' ;
88import { FilePathMode , FileVariable } from '../panel/fileVariable' ;
@@ -18,8 +18,7 @@ export class GitChanges extends PromptElement<GitChangesProps> {
1818 < >
1919 { this . props . diffs . map ( ( diff ) => (
2020 < >
21- < references value = { diff . uri ? [ new PromptReference ( diff . uri ) ] : [ ] } />
22- < FileVariable passPriority = { true } variableName = { basename ( diff . uri . toString ( ) ) } variableValue = { diff . uri } filePathMode = { FilePathMode . AsComment } />
21+ < FileVariable passPriority = { true } variableName = { basename ( diff . uri . toString ( ) ) } variableValue = { diff . uri } filePathMode = { FilePathMode . AsComment } omitReferences />
2322 < UnsafeCodeBlock passPriority = { true } code = { diff . diff } languageId = 'diff' /> < br />
2423 </ >
2524 ) ) }
You can’t perform that action at this time.
0 commit comments