1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-07-28 16:02:01 +03:00

Merge pull request #1432 from black-desk/moved-submodule

fix moved submodule
This commit is contained in:
Mark Kopenga
2021-08-17 10:10:22 +02:00
committed by GitHub

View File

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