mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-11-29 22:48:24 +02:00
split context common from helper common
This commit is contained in:
@@ -11,7 +11,7 @@ import (
|
||||
type MergeConflictsContext struct {
|
||||
types.Context
|
||||
viewModel *ConflictsViewModel
|
||||
c *types.HelperCommon
|
||||
c *ContextCommon
|
||||
mutex *deadlock.Mutex
|
||||
}
|
||||
|
||||
@@ -24,7 +24,7 @@ type ConflictsViewModel struct {
|
||||
}
|
||||
|
||||
func NewMergeConflictsContext(
|
||||
c *types.HelperCommon,
|
||||
c *ContextCommon,
|
||||
) *MergeConflictsContext {
|
||||
viewModel := &ConflictsViewModel{
|
||||
state: mergeconflicts.NewState(),
|
||||
|
||||
Reference in New Issue
Block a user