mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-07-30 03:23:08 +03:00
Keep same selection range when quick-starting an interactive rebase
This is useful if you want to move a range of commits, so you select them, and then realize it's better to do it in an interactive rebase. Pressing 'i' preserves the range now.
This commit is contained in:
@ -46,10 +46,9 @@ var QuickStartKeepSelectionRange = NewIntegrationTest(NewIntegrationTestArgs{
|
||||
Contains("CI commit 06"),
|
||||
Contains("update-ref").Contains("branch2"),
|
||||
Contains("CI * commit 05"),
|
||||
// Only 01 remains selected, but we want 04 through 01 to stay selected:
|
||||
Contains("CI commit 04"),
|
||||
Contains("update-ref").Contains("branch1"),
|
||||
Contains("CI * commit 03"),
|
||||
Contains("CI commit 04").IsSelected(),
|
||||
Contains("update-ref").Contains("branch1").IsSelected(),
|
||||
Contains("CI * commit 03").IsSelected(),
|
||||
Contains("CI commit 02").IsSelected(),
|
||||
Contains("CI <-- YOU ARE HERE --- commit 01"),
|
||||
)
|
||||
|
Reference in New Issue
Block a user