1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-07-30 03:23:08 +03:00

add submodules context

This commit is contained in:
Jesse Duffield
2020-09-30 08:27:23 +10:00
parent 3b93b5dde4
commit 7b4a0f20b2
14 changed files with 367 additions and 93 deletions

View File

@ -5,3 +5,15 @@ type SubmoduleConfig struct {
Path string
Url string
}
func (r *SubmoduleConfig) RefName() string {
return r.Name
}
func (r *SubmoduleConfig) ID() string {
return r.RefName()
}
func (r *SubmoduleConfig) Description() string {
return r.RefName()
}