mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-02-03 13:21:56 +02:00
Address feedback
This commit is contained in:
parent
f08fdb2873
commit
44d08edfb0
@ -42,8 +42,7 @@ func (s Selection) isIndexToKeep(conflict *mergeConflict, i int) bool {
|
||||
return false
|
||||
}
|
||||
|
||||
selectionStart, selectionEnd := s.bounds(conflict)
|
||||
return selectionStart < i && i < selectionEnd
|
||||
return s.selected(conflict, i)
|
||||
}
|
||||
|
||||
func (s Selection) bounds(c *mergeConflict) (int, int) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user