mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-11 12:25:47 +02:00
fix: use message in git stash command
This commit is contained in:
parent
e66b162726
commit
6feb301c2a
16 changed files with 13 additions and 11 deletions
|
@ -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()
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue