mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-23 10:08:49 +01:00
git: merge resources should return undefined original resource
related to #109022
This commit is contained in:
@@ -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