mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-04-25 12:24:47 +02:00
refactor: rename method to StashIncludeUntrackedChanges
This commit is contained in:
parent
a0fd47348b
commit
c7733aa5e5
@ -110,7 +110,7 @@ func (self *StashCommands) SaveStagedChanges(message string) error {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (self *StashCommands) StashUntrackedChanges(message string) error {
|
func (self *StashCommands) StashIncludeUntrackedChanges(message string) error {
|
||||||
return self.cmd.New(fmt.Sprintf("git stash save %s --include-untracked", self.cmd.Quote(message))).Run()
|
return self.cmd.New(fmt.Sprintf("git stash save %s --include-untracked", self.cmd.Quote(message))).Run()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -773,7 +773,7 @@ func (self *FilesController) createStashMenu() error {
|
|||||||
{
|
{
|
||||||
Label: self.c.Tr.LcStashIncludeUntrackedChanges,
|
Label: self.c.Tr.LcStashIncludeUntrackedChanges,
|
||||||
OnPress: func() error {
|
OnPress: func() error {
|
||||||
return self.handleStashSave(self.git.Stash.StashUntrackedChanges, self.c.Tr.Actions.StashIncludeUntrackedChanges, self.c.Tr.NoFilesToStash)
|
return self.handleStashSave(self.git.Stash.StashIncludeUntrackedChanges, self.c.Tr.Actions.StashIncludeUntrackedChanges, self.c.Tr.NoFilesToStash)
|
||||||
},
|
},
|
||||||
Key: 'U',
|
Key: 'U',
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user