diff --git a/pkg/gui/controllers/files_controller.go b/pkg/gui/controllers/files_controller.go index f1dbfb51c..6e20af51a 100644 --- a/pkg/gui/controllers/files_controller.go +++ b/pkg/gui/controllers/files_controller.go @@ -770,6 +770,13 @@ func (self *FilesController) createStashMenu() error { }, 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, OnPress: func() error { @@ -792,13 +799,6 @@ func (self *FilesController) createStashMenu() error { }, 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', - }, }, }) }