mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-07-17 01:42:45 +02:00
refactor: change command order
This commit is contained in:
@ -770,6 +770,13 @@ func (self *FilesController) createStashMenu() error {
|
|||||||
},
|
},
|
||||||
Key: 'i',
|
Key: 'i',
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
Label: self.c.Tr.LcStashIncludeUntrackedChanges,
|
||||||
|
OnPress: func() error {
|
||||||
|
return self.handleStashSave(self.git.Stash.StashUntrackedChanges, self.c.Tr.Actions.StashIncludeUntrackedChanges, self.c.Tr.NoFilesToStash)
|
||||||
|
},
|
||||||
|
Key: 'U',
|
||||||
|
},
|
||||||
{
|
{
|
||||||
Label: self.c.Tr.LcStashStagedChanges,
|
Label: self.c.Tr.LcStashStagedChanges,
|
||||||
OnPress: func() error {
|
OnPress: func() error {
|
||||||
@ -792,13 +799,6 @@ func (self *FilesController) createStashMenu() error {
|
|||||||
},
|
},
|
||||||
Key: 'u',
|
Key: 'u',
|
||||||
},
|
},
|
||||||
{
|
|
||||||
Label: self.c.Tr.LcStashIncludeUntrackedChanges,
|
|
||||||
OnPress: func() error {
|
|
||||||
return self.handleStashSave(self.git.Stash.StashUntrackedChanges, self.c.Tr.Actions.StashIncludeUntrackedChanges, self.c.Tr.NoFilesToStash)
|
|
||||||
},
|
|
||||||
Key: 'U',
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user