We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 470f7f2 commit 9edc6aeCopy full SHA for 9edc6ae
src/view/treeNodes/fileChangeNode.ts
@@ -304,7 +304,10 @@ export class GitFileChangeNode extends FileChangeNode implements vscode.TreeItem
304
305
private _appendLocalSuffix() {
306
// Mark as local file to distinguish from remote files
307
- this.contextValue = `${this.contextValue}:local`;
+ // Only append if not already present to avoid duplication
308
+ if (!this.contextValue.endsWith(':local')) {
309
+ this.contextValue = `${this.contextValue}:local`;
310
+ }
311
}
312
313
override updateViewed(viewed: ViewedState) {
0 commit comments