1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-04-02 22:25:47 +02:00

refactor: use extended flag name

This commit is contained in:
Andrew Hynes 2022-06-21 18:13:41 -02:30
parent 50cf7ac5bc
commit 4f8816ebf2

View File

@ -111,7 +111,7 @@ func (self *StashCommands) SaveStagedChanges(message string) error {
}
func (self *StashCommands) StashUntrackedChanges(message string) error {
if err := self.cmd.New("git stash -u").Run(); err != nil {
if err := self.cmd.New("git stash --include-untracked").Run(); err != nil {
return err
}
return nil