1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-07-30 03:23:08 +03:00

feat: add stash option to include untracked changes

This commit is contained in:
Andrew Hynes
2022-06-03 15:41:08 -02:30
committed by Andrew Hynes
parent de6d278e57
commit 7ddb80a13e
3 changed files with 19 additions and 0 deletions

View File

@ -792,6 +792,13 @@ 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',
},
},
})
}