1
0
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:
black_desk 2021-08-13 09:41:35 +08:00
parent a2ee52142c
commit bb4fe2653b

View File

@ -63,7 +63,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
}
}