mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-12 21:05:48 +02:00
start breaking up git struct
This commit is contained in:
parent
4a1d23dc27
commit
f503ff1ecb
76 changed files with 2234 additions and 1758 deletions
|
@ -26,7 +26,7 @@ func (gui *Gui) modeStatuses() []modeStatus {
|
|||
reset: gui.exitDiffMode,
|
||||
},
|
||||
{
|
||||
isActive: gui.GitCommand.PatchManager.Active,
|
||||
isActive: gui.GitCommand.Patch.PatchManager.Active,
|
||||
description: func() string {
|
||||
return style.FgYellow.SetBold().Sprintf(
|
||||
"%s %s",
|
||||
|
@ -61,10 +61,10 @@ func (gui *Gui) modeStatuses() []modeStatus {
|
|||
},
|
||||
{
|
||||
isActive: func() bool {
|
||||
return gui.GitCommand.WorkingTreeState() != enums.REBASE_MODE_NONE
|
||||
return gui.GitCommand.Status.WorkingTreeState() != enums.REBASE_MODE_NONE
|
||||
},
|
||||
description: func() string {
|
||||
workingTreeState := gui.GitCommand.WorkingTreeState()
|
||||
workingTreeState := gui.GitCommand.Status.WorkingTreeState()
|
||||
return style.FgYellow.Sprintf(
|
||||
"%s %s",
|
||||
workingTreeState,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue