mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-07-30 03:23:08 +03:00
better locking of merge panel state
This commit is contained in:
@ -155,7 +155,13 @@ func (s *State) Active() bool {
|
||||
}
|
||||
|
||||
func (s *State) GetConflictMiddle() int {
|
||||
return s.currentConflict().target
|
||||
currentConflict := s.currentConflict()
|
||||
|
||||
if currentConflict == nil {
|
||||
return 0
|
||||
}
|
||||
|
||||
return currentConflict.target
|
||||
}
|
||||
|
||||
func (s *State) ContentAfterConflictResolve(selection Selection) (bool, string, error) {
|
||||
|
Reference in New Issue
Block a user