diff options
Diffstat (limited to 'submodule.go')
-rw-r--r-- | submodule.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/submodule.go b/submodule.go index b5de41f..fd3d173 100644 --- a/submodule.go +++ b/submodule.go @@ -130,7 +130,7 @@ func (s *Submodule) Repository() (*Repository, error) { _, err = r.CreateRemote(&config.RemoteConfig{ Name: DefaultRemoteName, - URL: s.c.URL, + URLs: []string{s.c.URL}, }) return r, err |