mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-07-07 01:09:45 +02:00
fixup! Move to next stageable line after adding a line to a custom patch
This commit is contained in:
@ -155,7 +155,7 @@ func (self *PatchBuildingController) toggleSelection() error {
|
||||
state.SetLineSelectMode()
|
||||
}
|
||||
|
||||
state.SelectNextStageableLine()
|
||||
state.SelectNextStageableLineOfSameIncludedState(self.context().GetIncludedLineIndices(), currentLineIsStaged)
|
||||
|
||||
return nil
|
||||
}
|
||||
|
Reference in New Issue
Block a user