fix: use message in git stash command

This commit is contained in:
Andrew Hynes 2022-06-21 18:23:23 -02:30
parent e66b162726
commit 6feb301c2a
16 changed files with 13 additions and 11 deletions

View file

@ -111,6 +111,6 @@ func (self *StashCommands) SaveStagedChanges(message string) error {
}
func (self *StashCommands) StashUntrackedChanges(message string) error {
return self.cmd.New("git stash --include-untracked").Run();
return self.cmd.New(fmt.Sprintf("git stash save %s --include-untracked", self.cmd.Quote(message))).Run()
}