summaryrefslogtreecommitdiffstats
path: root/pkg/commands
diff options
context:
space:
mode:
authorRyooooooga <eial5q265e5@gmail.com>2021-08-16 23:36:16 +0900
committerRyooooooga <eial5q265e5@gmail.com>2021-08-16 23:36:16 +0900
commitd073932cecf00ae2f6959331ac5aacf8fed68b4d (patch)
tree7b0972e9160cc3fecb1bd11925c567319538afdd /pkg/commands
parent6c415d13413f18c0b3846539c3fa4646b6c896a3 (diff)
Fix stash submodule #1436
Diffstat (limited to 'pkg/commands')
-rw-r--r--pkg/commands/submodules.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/commands/submodules.go b/pkg/commands/submodules.go
index 880b09ab8..9a5c49951 100644
--- a/pkg/commands/submodules.go
+++ b/pkg/commands/submodules.go
@@ -69,7 +69,7 @@ func (c *GitCommand) SubmoduleStash(submodule *models.SubmoduleConfig) error {
return nil
}
- return c.RunCommand("git -C %s stash --include-untracked", submodule.Path)
+ return c.RunCommand("git -C %s stash --include-untracked", c.OSCommand.Quote(submodule.Path))
}
func (c *GitCommand) SubmoduleReset(submodule *models.SubmoduleConfig) error {