From d073932cecf00ae2f6959331ac5aacf8fed68b4d Mon Sep 17 00:00:00 2001 From: Ryooooooga Date: Mon, 16 Aug 2021 23:36:16 +0900 Subject: [PATCH] Fix stash submodule #1436 --- pkg/commands/submodules.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {