mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-07-31 14:24:25 +03:00
Merge pull request #1432 from black-desk/moved-submodule
fix moved submodule
This commit is contained in:
@ -61,7 +61,7 @@ func (f *File) IsSubmodule(configs []*SubmoduleConfig) bool {
|
|||||||
|
|
||||||
func (f *File) SubmoduleConfig(configs []*SubmoduleConfig) *SubmoduleConfig {
|
func (f *File) SubmoduleConfig(configs []*SubmoduleConfig) *SubmoduleConfig {
|
||||||
for _, config := range configs {
|
for _, config := range configs {
|
||||||
if f.Name == config.Name {
|
if f.Name == config.Path {
|
||||||
return config
|
return config
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user