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 { 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 err
} }
return nil return nil