mirror of
https://github.com/microsoft/vscode.git
synced 2026-10-06 05:07:29 +01:00
git: merge resources should return undefined original resource
related to #109022
This commit is contained in:
1 file changed
+6
@@ -864,6 +864,12 @@ export class Repository implements Disposable {
|
||||
return;
|
||||
}
|
||||
|
||||
const path = uri.path;
|
||||
|
||||
if (this.mergeGroup.resourceStates.some(r => r.resourceUri.path === path)) {
|
||||
return undefined;
|
||||
}
|
||||
|
||||
return toGitUri(uri, '', { replaceFileExtension: true });
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user