mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-06-20 01:19:23 +02:00
Address feedback
This commit is contained in:
@@ -42,8 +42,7 @@ func (s Selection) isIndexToKeep(conflict *mergeConflict, i int) bool {
|
|||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
|
||||||
selectionStart, selectionEnd := s.bounds(conflict)
|
return s.selected(conflict, i)
|
||||||
return selectionStart < i && i < selectionEnd
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (s Selection) bounds(c *mergeConflict) (int, int) {
|
func (s Selection) bounds(c *mergeConflict) (int, int) {
|
||||||
|
|||||||
Reference in New Issue
Block a user