diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2020-10-01 22:16:38 +1000 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2020-10-02 08:09:42 +1000 |
commit | f77ce209e0312d1b08acce401f4959e50c73b8df (patch) | |
tree | 97c32264286ccd9caa2495cd03d5c19845dcfb73 /pkg | |
parent | a61356d0180a7917666fd2318184fe2b9762a460 (diff) |
use path not name
Diffstat (limited to 'pkg')
-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 1cfebdb3d..101c6178c 100644 --- a/pkg/commands/submodules.go +++ b/pkg/commands/submodules.go @@ -73,7 +73,7 @@ func (c *GitCommand) SubmoduleStash(submodule *models.SubmoduleConfig) error { } func (c *GitCommand) SubmoduleReset(submodule *models.SubmoduleConfig) error { - return c.OSCommand.RunCommand("git submodule update --init --force %s", submodule.Name) + return c.OSCommand.RunCommand("git submodule update --init --force %s", submodule.Path) } func (c *GitCommand) SubmoduleUpdateAll() error { |