1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-11-22 04:42:37 +03:00

Add SelectedSubmodule to SessionState

Introduce the 'SelectedSubmodule' struct and allow using it as a
placeholder value.
Add a corresponding test.
Update the documentation to include it among the listed placeholder
values.
This commit is contained in:
rlkandela
2025-11-11 11:41:33 +01:00
committed by Stefan Haller
parent 7d1c3f7a28
commit 374f0f0766
5 changed files with 74 additions and 0 deletions

View File

@@ -43,6 +43,12 @@ type File struct {
IsWorktree bool
}
type Submodule struct {
Name string
Path string
Url string
}
type Branch struct {
Name string
DisplayName string