jesseduffield.lazygit/pkg/integration/tests
Stefan Haller 1f42c8a387 Allow discarding changes only from local commits
We use CommitFilesController also for the files of commits that we show
elsewhere, e.g. for branch commits, tags, or stashes. It doesn't make sense to
discard changes from those (for stashes it might be possible to implement it
somehow, but that would be a new feature), so we disallow it unless we are in
the local commits panel.
2023-06-07 12:48:56 +02:00
..
bisect Use sentence case everywhere 2023-05-25 23:52:19 +10:00
branch Show menu instead of prompt when there are conflicts in a rebase or merge 2023-06-01 10:51:48 +02:00
cherry_pick Use sentence case everywhere 2023-05-25 23:52:19 +10:00
commit Better prompt for discarding old file changes 2023-06-07 12:47:03 +02: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 Support suggestions generated from command in custom commands 2023-05-29 22:47:35 +10:00
diff Use sentence case everywhere 2023-05-25 23:52:19 +10:00
file Use sentence case everywhere 2023-05-25 23:52:19 +10:00
filter_by_path Use sentence case everywhere 2023-05-25 23:52:19 +10:00
interactive_rebase Use sentence case everywhere 2023-05-25 23:52:19 +10:00
misc Fix focus issue when opening recent-repos menu at launch 2023-06-07 18:27:18 +10:00
patch_building Use sentence case everywhere 2023-05-25 23:52:19 +10:00
reflog Fix flakey test 2023-06-03 15:54:03 +10:00
shared Construct arg vector manually rather than parse string 2023-05-23 19:49:19 +10:00
staging Construct arg vector manually rather than parse string 2023-05-23 19:49:19 +10:00
stash Allow discarding changes only from local commits 2023-06-07 12:48:56 +02:00
submodule Use sentence case everywhere 2023-05-25 23:52:19 +10:00
sync Use sentence case everywhere 2023-05-25 23:52:19 +10:00
tag Use sentence case everywhere 2023-05-25 23:52:19 +10:00
ui Use sentence case everywhere 2023-05-25 23:52:19 +10:00
undo Use sentence case everywhere 2023-05-25 23:52:19 +10:00
test_list.go Allow discarding changes only from local commits 2023-06-07 12:48:56 +02:00
test_list_generator.go cleanup integration test code 2023-02-26 12:54:13 +11:00
tests.go cleanup integration test code 2023-02-26 12:54:13 +11:00