diff options
author | Mark Kopenga <mkopenga@gmail.com> | 2021-08-17 10:10:22 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-17 10:10:22 +0200 |
commit | 2eeff1257b883898609015ba891e8869578957e7 (patch) | |
tree | 9839515f4a0e17a8cc7df71b2ecd58ca109e0baa | |
parent | c878f34ff193beaa70a5dda0d5ac56d1c6be7b17 (diff) | |
parent | bb4fe2653bec70287cc6525ac558e197e8babf33 (diff) |
Merge pull request #1432 from black-desk/moved-submodulev0.29
fix moved submodule
-rw-r--r-- | pkg/commands/models/file.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/commands/models/file.go b/pkg/commands/models/file.go index 6ab34d6ab..c5e76949a 100644 --- a/pkg/commands/models/file.go +++ b/pkg/commands/models/file.go @@ -61,7 +61,7 @@ func (f *File) IsSubmodule(configs []*SubmoduleConfig) bool { func (f *File) SubmoduleConfig(configs []*SubmoduleConfig) *SubmoduleConfig { for _, config := range configs { - if f.Name == config.Name { + if f.Name == config.Path { return config } } |