mirror of
https://github.com/ckaczor/vscode-gitlens.git
synced 2026-02-06 01:35:36 -05:00
Adds refs changes into repo watcher
Catches branch & remote changes
This commit is contained in:
@@ -145,7 +145,7 @@ export class GitService extends Disposable {
|
|||||||
if (cfg.advanced.caching.enabled) {
|
if (cfg.advanced.caching.enabled) {
|
||||||
this._cacheDisposable && this._cacheDisposable.dispose();
|
this._cacheDisposable && this._cacheDisposable.dispose();
|
||||||
|
|
||||||
this._repoWatcher = this._repoWatcher || workspace.createFileSystemWatcher('**/.git/{index,HEAD,refs/stash}', true, false, true);
|
this._repoWatcher = this._repoWatcher || workspace.createFileSystemWatcher('**/.git/{index,HEAD,refs/stash,refs/heads/**,refs/remotes/**}');
|
||||||
|
|
||||||
const disposables: Disposable[] = [];
|
const disposables: Disposable[] = [];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user