mirror of
https://github.com/jesseduffield/lazygit.git
synced 2024-12-10 11:10:18 +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
|
||||
}
|
||||
|
||||
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()
|
||||
}
|
||||
|
||||
|
@ -773,7 +773,7 @@ func (self *FilesController) createStashMenu() error {
|
||||
{
|
||||
Label: self.c.Tr.LcStashIncludeUntrackedChanges,
|
||||
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',
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user