瀏覽代碼

Fixes #847 - not setting reset flag properly

main
Eric Amodio 5 年之前
父節點
當前提交
7835bd8849
共有 2 個檔案被更改,包括 3 行新增2 行删除
  1. +1
    -0
      CHANGELOG.md
  2. +2
    -2
      src/views/viewCommands.ts

+ 1
- 0
CHANGELOG.md 查看文件

@ -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 查看文件

@ -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
);

Loading…
取消
儲存