jesseduffield.lazygit/pkg/integration/tests/file
Stefan Haller bee03d3b98 Show renames when diffing a directory that a file was moved into or out of
Git limits its tree diff by the pathspec before it looks for renames, so
a directory only ever gets one end of a rename whose other end is outside
it. Nothing is left to pair up, and the file turns into an addition or a
deletion that the commit doesn't contain.

Pass the other end along with the directory. This is bounded by the
number of renames that cross the directory's boundary, so it costs
nothing at all for the vast majority of commits.
2026-08-17 09:32:30 +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
directory_diff_with_renamed_files.go Show renames when diffing a directory that a file was moved into or out of 2026-08-17 09:32:30 +02: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