1
0
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:
Stefan Haller
2025-07-02 15:09:42 +02:00
parent 27ce820442
commit b8ac8d12e6
3 changed files with 26 additions and 12 deletions

View File

@ -155,7 +155,7 @@ func (self *PatchBuildingController) toggleSelection() error {
state.SetLineSelectMode()
}
state.SelectNextStageableLine()
state.SelectNextStageableLineOfSameIncludedState(self.context().GetIncludedLineIndices(), currentLineIsStaged)
return nil
}