summaryrefslogtreecommitdiffstats
path: root/pkg/commands/git_commands/stash.go
diff options
context:
space:
mode:
authorRyoga <eial5q265e5+github@gmail.com>2022-10-15 11:03:47 +0900
committerRyooooooga <eial5q265e5@gmail.com>2022-10-16 09:12:43 +0900
commit8a9eefa4d275f925e149be2c05c5c6958da86f5b (patch)
tree7d424422fd974686dc10efd8e4315c6a920eab82 /pkg/commands/git_commands/stash.go
parent11316b7a488ff4afa9a60595fb866a94c4c17216 (diff)
chore: remove unnecessary space
Co-authored-by: Jesse Duffield <jessedduffield@gmail.com>
Diffstat (limited to 'pkg/commands/git_commands/stash.go')
-rw-r--r--pkg/commands/git_commands/stash.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/commands/git_commands/stash.go b/pkg/commands/git_commands/stash.go
index 1a7c62b08..841765e81 100644
--- a/pkg/commands/git_commands/stash.go
+++ b/pkg/commands/git_commands/stash.go
@@ -51,7 +51,7 @@ func (self *StashCommands) Save(message string) error {
func (self *StashCommands) Store(sha string, message string) error {
trimmedMessage := strings.Trim(message, " \t")
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()
}