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 04fbbf2 commit 2282be5Copy full SHA for 2282be5
extensions/git/src/editSessionIdentityProvider.ts
@@ -46,7 +46,9 @@ export class GitEditSessionIdentityProvider implements vscode.EditSessionIdentit
46
normalizedIdentity1.sha === normalizedIdentity2.sha) {
47
// This is a perfect match
48
return vscode.EditSessionIdentityMatch.Complete;
49
- } else if (normalizedIdentity1.sha !== normalizedIdentity2.sha) {
+ } else if (normalizedIdentity1.remote === normalizedIdentity2.remote &&
50
+ normalizedIdentity1.ref === normalizedIdentity2.ref &&
51
+ normalizedIdentity1.sha !== normalizedIdentity2.sha) {
52
// Same branch and remote but different SHA
53
return vscode.EditSessionIdentityMatch.Partial;
54
} else {
0 commit comments