Skip to content

Commit 44d9c80

Browse files
authored
Fix git diff detection code (#13851)
1 parent 6bad0ef commit 44d9c80

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/client/datascience/interactive-ipynb/nativeEditorProviderOld.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ export class NativeEditorProviderOld extends NativeEditorProvider {
378378
(editorUri) =>
379379
editorUri.document &&
380380
editorUri.document.uri.scheme === 'git' &&
381-
this.fs.arePathsSame(editorUri.document.uri, editor.document.uri)
381+
editorUri.document.uri.fsPath === editor.document.uri.fsPath
382382
);
383383

384384
if (!gitSchemeEditor) {

0 commit comments

Comments
 (0)