diff options
author | Ryooooooga <eial5q265e5@gmail.com> | 2021-08-16 23:36:16 +0900 |
---|---|---|
committer | Ryooooooga <eial5q265e5@gmail.com> | 2021-08-16 23:36:16 +0900 |
commit | d073932cecf00ae2f6959331ac5aacf8fed68b4d (patch) | |
tree | 7b0972e9160cc3fecb1bd11925c567319538afdd /pkg/commands/submodules.go | |
parent | 6c415d13413f18c0b3846539c3fa4646b6c896a3 (diff) |
Fix stash submodule #1436
Diffstat (limited to 'pkg/commands/submodules.go')
-rw-r--r-- | pkg/commands/submodules.go | 2 |
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 { |