Pārlūkot izejas kodu

Fixes not detecting gitignore changes

main
Eric Amodio pirms 6 gadiem
vecāks
revīzija
6be7e9c960
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. +1
    -1
      src/git/models/repository.ts

+ 1
- 1
src/git/models/repository.ts Parādīt failu

@ -98,7 +98,7 @@ export class Repository extends Disposable {
this._suspended = suspended;
const watcher = workspace.createFileSystemWatcher(new RelativePattern(folder, '**/.git/{config,index,HEAD,refs/stash,refs/heads/**,refs/remotes/**,refs/tags/**}'));
const watcher = workspace.createFileSystemWatcher(new RelativePattern(folder, '{**/.git/config,**/.git/index,**/.git/HEAD,**/.git/refs/stash,**/.git/refs/heads/**,**/.git/refs/remotes/**,**/.git/refs/tags/**,**/.gitignore}'));
this._disposable = Disposable.from(
watcher,
watcher.onDidChange(this.onRepositoryChanged, this),

Notiek ielāde…
Atcelt
Saglabāt