mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-07-28 16:02:01 +03:00
Expose {{.SelectedCommitRange}} to custom commands
It has fields .To and .From (the hashes of the last and the first selected commits, respectively), and it is useful for creating git commands that act on a range of commits.
This commit is contained in:
@ -139,6 +139,7 @@ var tests = []*components.IntegrationTest{
|
||||
custom_commands.MultipleContexts,
|
||||
custom_commands.MultiplePrompts,
|
||||
custom_commands.SelectedCommit,
|
||||
custom_commands.SelectedCommitRange,
|
||||
custom_commands.SelectedPath,
|
||||
custom_commands.ShowOutputInPanel,
|
||||
custom_commands.SuggestionsCommand,
|
||||
|
Reference in New Issue
Block a user