1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-01-10 04:07:18 +02:00

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 {