diff options
author | Mark Kopenga <mkopenga@gmail.com> | 2021-08-16 16:43:12 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-16 16:43:12 +0200 |
commit | f8db3592e345416fc74bc2e36af67f0af4aaa975 (patch) | |
tree | 7b0972e9160cc3fecb1bd11925c567319538afdd | |
parent | 6c415d13413f18c0b3846539c3fa4646b6c896a3 (diff) | |
parent | d073932cecf00ae2f6959331ac5aacf8fed68b4d (diff) |
Merge pull request #1440 from Ryooooooga/feature/quote-git-C-path
Fix stash submodule #1436
-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 { |