When reviewing a commit, if new commits are fetched (either by auto fetch or by manually fetching), while the currently selected commit is preserved, the selected file within the commit, and the scroll position in the list of files is lost. This can be annoying when trying to review a commit that touches several hundred files.
Steps to reproduce
Steps to reproduce the behavior:
Open repository
Select a commit that touches many files
Switch to the Files tab, scroll down, and selected a file
Fetch a new commit (there has to actually be a new commit, a fetch that does nothing has no effect on the selection)
Expected behavior
Currently selected file and scroll position within the list of files is maintained.
Actual behaviour
Scroll position in the list of files resets to the beginning
Version info
Description
When reviewing a commit, if new commits are fetched (either by auto fetch or by manually fetching), while the currently selected commit is preserved, the selected file within the commit, and the scroll position in the list of files is lost. This can be annoying when trying to review a commit that touches several hundred files.
Steps to reproduce
Steps to reproduce the behavior:
Expected behavior
Currently selected file and scroll position within the list of files is maintained.
Actual behaviour
Scroll position in the list of files resets to the beginning