|
@ -102,7 +102,7 @@ export class FileHistoryTrackerNode extends SubscribeableViewNode |
|
|
if ( |
|
|
if ( |
|
|
this.uri === unknownGitUri || |
|
|
this.uri === unknownGitUri || |
|
|
(Container.git.isTrackable(this.uri) && |
|
|
(Container.git.isTrackable(this.uri) && |
|
|
window.visibleTextEditors.some(e => e.document && UriComparer.equals(e.document.uri, this.uri))) |
|
|
|
|
|
|
|
|
window.visibleTextEditors.some(e => e.document && e.document.uri.path === this.uri.path)) |
|
|
) { |
|
|
) { |
|
|
return true; |
|
|
return true; |
|
|
} |
|
|
} |
|
@ -116,7 +116,7 @@ export class FileHistoryTrackerNode extends SubscribeableViewNode |
|
|
return false; |
|
|
return false; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
if (UriComparer.equals(editor.document.uri, this.uri)) { |
|
|
|
|
|
|
|
|
if (editor.document.uri.path === this.uri.path) { |
|
|
if (cc !== undefined) { |
|
|
if (cc !== undefined) { |
|
|
cc.exitDetails = `, uri=${Logger.toLoggable(this._uri)}`; |
|
|
cc.exitDetails = `, uri=${Logger.toLoggable(this._uri)}`; |
|
|
} |
|
|
} |
|
|