Преглед изворни кода

Fixes issue with paths that contain `.git`

main
Eric Amodio пре 7 година
родитељ
комит
0363bcf6c6
1 измењених фајлова са 1 додато и 1 уклоњено
  1. +1
    -1
      src/git/models/repository.ts

+ 1
- 1
src/git/models/repository.ts Прегледај датотеку

@ -138,7 +138,7 @@ export class Repository extends Disposable {
private onFileSystemChanged(uri: Uri) {
// Ignore .git changes
if (/\.git/.test(uri.fsPath)) return;
if (/\.git(?:\/|\\|$)/.test(uri.fsPath)) return;
this.fireFileSystemChange(uri);
}

Loading…
Откажи
Сачувај