From b1717dfa86cbe3ae72aab28d0011b2cacf39350c Mon Sep 17 00:00:00 2001 From: Eric Amodio Date: Wed, 26 Jan 2022 00:13:39 -0500 Subject: [PATCH] Honors platform case sensativity --- src/git/fsProvider.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/git/fsProvider.ts b/src/git/fsProvider.ts index 95faaa9..e4488d3 100644 --- a/src/git/fsProvider.ts +++ b/src/git/fsProvider.ts @@ -11,6 +11,7 @@ import { Uri, workspace, } from 'vscode'; +import { isLinux } from '@env/platform'; import { DocumentSchemes } from '../constants'; import { Container } from '../container'; import { GitUri } from '../git/gitUri'; @@ -36,7 +37,7 @@ export class GitFileSystemProvider implements FileSystemProvider, Disposable { constructor(private readonly container: Container) { this._disposable = Disposable.from( workspace.registerFileSystemProvider(DocumentSchemes.GitLens, this, { - isCaseSensitive: true, + isCaseSensitive: isLinux, isReadonly: true, }), );