Browse Source

Honors platform case sensativity

main
Eric Amodio 2 years ago
parent
commit
b1717dfa86
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      src/git/fsProvider.ts

+ 2
- 1
src/git/fsProvider.ts View File

@ -11,6 +11,7 @@ import {
Uri, Uri,
workspace, workspace,
} from 'vscode'; } from 'vscode';
import { isLinux } from '@env/platform';
import { DocumentSchemes } from '../constants'; import { DocumentSchemes } from '../constants';
import { Container } from '../container'; import { Container } from '../container';
import { GitUri } from '../git/gitUri'; import { GitUri } from '../git/gitUri';
@ -36,7 +37,7 @@ export class GitFileSystemProvider implements FileSystemProvider, Disposable {
constructor(private readonly container: Container) { constructor(private readonly container: Container) {
this._disposable = Disposable.from( this._disposable = Disposable.from(
workspace.registerFileSystemProvider(DocumentSchemes.GitLens, this, { workspace.registerFileSystemProvider(DocumentSchemes.GitLens, this, {
isCaseSensitive: true,
isCaseSensitive: isLinux,
isReadonly: true, isReadonly: true,
}), }),
); );

Loading…
Cancel
Save