mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-10-06 05:57:38 -04:00
When the deletion of the selected file is staged and git then reports it as the old half of a rename whose new half sits in a collapsed directory, the selection is meant to move to the rename, expanding the directory on the way. With gui.showRootItemInFileTree turned on, the directory stays collapsed and the selection lands on it instead. With the option turned off, the directory does expand, but if another file in it sorts before the rename, that file gets selected. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>