Sfoglia il codice sorgente

Fixes #847 - not setting reset flag properly

main
Eric Amodio 5 anni fa
parent
commit
7835bd8849
2 ha cambiato i file con 3 aggiunte e 2 eliminazioni
  1. +1
    -0
      CHANGELOG.md
  2. +2
    -2
      src/views/viewCommands.ts

+ 1
- 0
CHANGELOG.md Vedi File

@ -60,6 +60,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
### Fixed
- Fixes [#847](https://github.com/eamodio/vscode-gitlens/issues/847) - Refresh button on Compare With Branch view is not working
- Fixes [#842](https://github.com/eamodio/vscode-gitlens/issues/842) - List of changed files in comparison to working tree only shows changed files in comparison to HEAD
- Fixes [#828](https://github.com/eamodio/vscode-gitlens/issues/828) - Version comparison to show welcome message is not future proof — thanks to [PR #829](https://github.com/eamodio/vscode-gitlens/pull/829) by Arunprasad Rajkumar ([@arajkumar](https://github.com/arajkumar))
- Fixes [#821](https://github.com/eamodio/vscode-gitlens/issues/821) - Wrong comparison order in the Compare view when using Compare [HEAD|Working Tree] With comands

+ 2
- 2
src/views/viewCommands.ts Vedi File

@ -68,12 +68,12 @@ export class ViewCommands {
commands.registerCommand(
'gitlens.views.refreshNode',
(node: ViewNode, reset?: boolean) => {
if (reset === undefined && nodeSupportsPaging(node)) {
if (reset == null && nodeSupportsPaging(node)) {
node.maxCount = undefined;
node.view.resetNodeLastMaxCount(node);
}
return node.view.refreshNode(node, reset === undefined ? true : reset);
return node.view.refreshNode(node, reset == null ? true : reset);
},
this
);

Caricamento…
Annulla
Salva