Fix stash submodule #1436

This commit is contained in:
Ryooooooga 2021-08-16 23:36:16 +09:00
parent 6c415d1341
commit d073932cec
No known key found for this signature in database
GPG key ID: 07CF200DFCC20C25

View file

@ -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 {