mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-08-10 22:42:00 +02:00
chore: remove unnecessary space
Co-authored-by: Jesse Duffield <jessedduffield@gmail.com>
This commit is contained in:
@@ -51,7 +51,7 @@ func (self *StashCommands) Save(message string) error {
|
|||||||
func (self *StashCommands) Store(sha string, message string) error {
|
func (self *StashCommands) Store(sha string, message string) error {
|
||||||
trimmedMessage := strings.Trim(message, " \t")
|
trimmedMessage := strings.Trim(message, " \t")
|
||||||
if len(trimmedMessage) > 0 {
|
if len(trimmedMessage) > 0 {
|
||||||
return self.cmd.New(fmt.Sprintf("git stash store %s -m %s", self.cmd.Quote(sha), self.cmd.Quote(trimmedMessage))).Run()
|
return self.cmd.New(fmt.Sprintf("git stash store %s -m %s", self.cmd.Quote(sha), self.cmd.Quote(trimmedMessage))).Run()
|
||||||
}
|
}
|
||||||
return self.cmd.New(fmt.Sprintf("git stash store %s", self.cmd.Quote(sha))).Run()
|
return self.cmd.New(fmt.Sprintf("git stash store %s", self.cmd.Quote(sha))).Run()
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user