Browse Source

Fixes #2550 PRs not always showing up in Commits

main
Eric Amodio 1 year ago
parent
commit
d0936aab94
3 changed files with 3 additions and 2 deletions
  1. +1
    -0
      CHANGELOG.md
  2. +1
    -1
      src/views/commitsView.ts
  3. +1
    -1
      src/views/nodes/branchNode.ts

+ 1
- 0
CHANGELOG.md View File

@ -26,6 +26,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
### Fixed
- Fixes [#2550](https://github.com/gitkraken/vscode-gitlens/issues/2550) - Related pull request disappears after refresh
- Fixes [#2549](https://github.com/gitkraken/vscode-gitlens/issues/2549) - toggle code lens does not work with gitlens.codeLens.enabled == false
- Fixes [#2553](https://github.com/gitkraken/vscode-gitlens/issues/2553) - Can't add remote url with git@ format
- Fixes [#2083](https://github.com/gitkraken/vscode-gitlens/issues/2083), [#2539](https://github.com/gitkraken/vscode-gitlens/issues/2539) - Fix stashing staged changes — thanks to [PR #2540](https://github.com/gitkraken/vscode-gitlens/pull/2540) by Nafiur Rahman Khadem ([@ShafinKhadem](https://github.com/ShafinKhadem))

+ 1
- 1
src/views/commitsView.ts View File

@ -55,7 +55,7 @@ export class CommitsRepositoryNode extends RepositoryFolderNode
}
}
this.child = new BranchNode(this.uri, this.view, this, branch, true, {
this.child = new BranchNode(this.uri, this.view, this.splatted ? this.parent ?? this : this, branch, true, {
expanded: true,
limitCommits: !this.splatted,
showComparison: this.view.config.showBranchComparison,

+ 1
- 1
src/views/nodes/branchNode.ts View File

@ -182,7 +182,7 @@ export class BranchNode
// Refresh this node to add the pull request node or remove the spinner
if (spinner || pr != null) {
this.view.triggerNodeChange(this);
this.view.triggerNodeChange(this.root ? this.parent ?? this : this);
}
});
}

Loading…
Cancel
Save