jesseduffield.lazygit/pkg/integration/tests/file
Stefan Haller 39513d244d Keep the last conflict file selected after resolution
When there is a single conflicting file left to be resolved, lazygit
dismisses the conflicted-files-only filter when the file no longer has
conflict markers. However, the selection moved to the top, which is
annoying because very often it is useful to look at that file's
resulting diff once more to confirm that conflicts were resolved
correctly, and finding it again can be cumbersome when there are many
changed files. So keep it selected.

Of course, this only helps for the last (or only) conflicted files; when
there are multiple, a resolved file disappears from the panel until all
are resolved, which makes it hard to double-check the resulting diffs.
Doing it afterwards is not easy because you'd have to remember which
files were conflicting. This needs a different solution, but for the
special case of only a single conflicting file this is already a big
improvement.
2026-08-15 15:03:29 +02:00
..
click_arrow_to_collapse.go Add support for clicking on arrows in the file list to expand/collapse directories 2026-03-25 17:08:35 +01:00
collapse_expand.go Add a root item ("/") if files at top level have changed 2025-03-21 08:04:58 +01:00
copy_menu.go Fix copying a file's absolute path when running in a linked worktree 2026-04-19 11:16:02 +02:00
dir_with_untracked_file.go Construct arg vector manually rather than parse string 2023-05-23 19:49:19 +10:00
discard_all_dir_changes.go Only prompt to continue a rebase/merge if we started it 2026-07-03 18:28:07 +02:00
discard_all_dir_changes_when_filtering.go Add integration tests for discarding dir changes when filtering by path 2026-03-27 14:34:47 +01:00
discard_range_select.go Add a root item ("/") if files at top level have changed 2025-03-21 08:04:58 +01:00
discard_staged_changes.go Add a root item ("/") if files at top level have changed 2025-03-21 08:04:58 +01:00
discard_unstaged_dir_changes.go Make file sort order and case sensitivity configurable 2026-03-30 17:53:25 +02:00
discard_unstaged_dir_changes_when_filtering.go Improve performance of discarding changes in large directories 2026-03-27 14:34:47 +01:00
discard_unstaged_file_changes.go Add a root item ("/") if files at top level have changed 2025-03-21 08:04:58 +01:00
discard_unstaged_range_select.go Add a root item ("/") if files at top level have changed 2025-03-21 08:04:58 +01:00
discard_various_changes.go Only prompt to continue a rebase/merge if we started it 2026-07-03 18:28:07 +02:00
discard_various_changes_range_select.go Keep the last conflict file selected after resolution 2026-08-15 15:03:29 +02:00
exclude_without_info_dir.go Fix #5302: Create .git/info directory before writing exclude file 2026-03-08 16:23:39 +01:00
gitignore.go Fix gitignore path collisions 2026-01-28 21:10:29 +01:00
gitignore_special_characters.go Fix gitignore path collisions 2026-01-28 21:10:29 +01:00
remember_commit_message_after_fail.go Add a root item ("/") if files at top level have changed 2025-03-21 08:04:58 +01:00
rename_similarity_threshold_change.go Allow changing diff context size and rename threshold when main view is focused 2025-04-23 08:38:46 +02:00
renamed_files.go Fix display of renamed files 2025-04-02 18:15:44 +02:00
renamed_files_no_root_item.go Add user config gui.addRootItemInFileTree 2025-05-24 18:17:25 +02:00
shared.go Support range select for staging/discarding files 2024-01-25 11:34:59 +11:00
stage_all_without_changed_files.go Disable staging all files when there are none to stage 2026-08-14 22:52:45 +02:00
stage_children_range_select.go Add a root item ("/") if files at top level have changed 2025-03-21 08:04:58 +01:00
stage_deleted_range_select.go Add a root item ("/") if files at top level have changed 2025-03-21 08:04:58 +01:00
stage_range_select.go Add a root item ("/") if files at top level have changed 2025-03-21 08:04:58 +01:00