Skip to content

Commit d27d0c2

Browse files
committed
Implements microsoft#164686
1 parent 3d30ef3 commit d27d0c2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

extensions/git/src/commands.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -452,10 +452,12 @@ export class CommandCenter {
452452
// ours (current branch and commit)
453453
current.detail = head.refNames.map(s => s.replace(/^HEAD ->/, '')).join(', ');
454454
current.description = '$(git-commit) ' + head.hash.substring(0, 7);
455+
current.uri = toGitUri(uri, head.hash);
455456

456457
// theirs
457458
incoming.detail = rebaseOrMergeHead.refNames.join(', ');
458459
incoming.description = '$(git-commit) ' + rebaseOrMergeHead.hash.substring(0, 7);
460+
incoming.uri = toGitUri(uri, rebaseOrMergeHead.hash);
459461

460462
} catch (error) {
461463
// not so bad, can continue with just uris

0 commit comments

Comments
 (0)