jesseduffield.lazygit/pkg/integration/tests
John Whitley 3d9f1e02e5 Refactor repo_paths.go to use git rev-parse
This changes GetRepoPaths() to pull information from `git rev-parse`
instead of effectively reimplementing git's logic for pathfinding. This
change fixes issues with bare repos, esp. versioned homedir use cases,
by aligning lazygit's path handling to what git itself does.

This change also enables lazygit to run from arbitrary subdirectories of
a repository, including correct handling of symlinks, including "deep"
symlinks into a repo, worktree, a repo's submodules, etc.

Integration tests are now resilient against unintended side effects from
the host's environment variables. Of necessity, $PATH and $TERM are the
only env vars allowed through now.
2024-01-24 08:40:01 +01:00
..
bisect Make bisect/basic.go test more concrete 2023-07-31 08:34:01 +02:00
branch Use ErrorToast instead of error panel when invoking a disabled command 2024-01-14 17:45:35 +01:00
cherry_pick Support select range for cherry pick 2024-01-19 10:50:49 +11:00
commit Add range selection ability on list contexts 2024-01-19 10:47:21 +11:00
config Support matchers on integers in integration tests 2023-06-03 15:32:23 +10:00
conflicts Construct arg vector manually rather than parse string 2023-05-23 19:49:19 +10:00
custom_commands Keep same branch selected when refreshing branches 2024-01-19 09:25:07 +01:00
demo Support range select in rebase actions 2024-01-23 17:23:56 +11:00
diff Add busy count for integration tests 2023-07-08 22:54:52 +10:00
file Enforce single-item selection in various actions 2024-01-19 10:50:49 +11:00
filter_and_search When refreshing models, re-apply active filter for the corresponding view 2023-10-10 08:37:30 +02:00
filter_by_path Pass -f as single arg in integration test 2024-01-12 20:19:50 +11:00
interactive_rebase Support range select in rebase actions 2024-01-23 17:23:56 +11:00
misc Make it mandatory to acknowledge toasts in tests 2024-01-14 17:42:03 +01:00
patch_building Clear range select upon pressing 'escape' 2024-01-19 10:47:21 +11:00
reflog Don't show branch heads in reflog subcommits 2023-07-31 08:34:01 +02:00
shared Construct arg vector manually rather than parse string 2023-05-23 19:49:19 +10:00
staging Add range selection ability on list contexts 2024-01-19 10:47:21 +11:00
stash feat: add age on stash lines 2023-12-27 11:21:49 +01:00
submodule Use sentence case everywhere 2023-05-25 23:52:19 +10:00
sync Keep same branch selected when refreshing branches 2024-01-19 09:25:07 +01:00
tag Make it possible to handle toasts in integration tests 2024-01-14 17:42:03 +01:00
ui Enforce single-item selection in various actions 2024-01-19 10:50:49 +11:00
undo Support range select in rebase actions 2024-01-23 17:23:56 +11:00
worktree Refactor repo_paths.go to use git rev-parse 2024-01-24 08:40:01 +01:00
test_list.go Refactor repo_paths.go to use git rev-parse 2024-01-24 08:40:01 +01:00
test_list_generator.go Make test_list_generator.go print what it's doing 2023-09-29 20:40:15 +02:00
tests.go Set working directory in lazygit test command 2024-01-12 19:59:31 +11:00