mirror of
https://github.com/jesseduffield/lazygit.git
synced 2024-11-26 09:00:57 +02:00
merge with example feature branch
This commit is contained in:
commit
027ea74ca9
@ -168,10 +168,10 @@ func refreshMergePanel(g *gocui.Gui) error {
|
||||
return err
|
||||
}
|
||||
|
||||
if len(state.Conflicts) == 5 {
|
||||
if len(state.Conflicts) == 6 {
|
||||
state.ConflictIndex = 0
|
||||
} else if state.ConflictIndex > len(state.Conflicts)-1 {
|
||||
state.ConflictIndex = len(state.Conflicts) - 5
|
||||
state.ConflictIndex = len(state.Conflicts) - 6
|
||||
}
|
||||
hasFocus := currentViewName(g) == "main"
|
||||
if hasFocus {
|
||||
|
Loading…
Reference in New Issue
Block a user