mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-27 23:08:02 +02:00
fix moved submodule
This commit is contained in:
parent
a2ee52142c
commit
bb4fe2653b
@ -63,7 +63,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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user