Kaynağa Gözat

Fixes issue with paths that contain `.git`

main
Eric Amodio 7 yıl önce
ebeveyn
işleme
0363bcf6c6
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. +1
    -1
      src/git/models/repository.ts

+ 1
- 1
src/git/models/repository.ts Dosyayı Görüntüle

@ -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);
}

Yükleniyor…
İptal
Kaydet