mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-07-31 14:24:25 +03:00
Add more worktree tests
This commit is contained in:
@ -33,6 +33,7 @@ type SessionState struct {
|
||||
SelectedStashEntry *models.StashEntry
|
||||
SelectedCommitFile *models.CommitFile
|
||||
SelectedCommitFilePath string
|
||||
SelectedWorktree *models.Worktree
|
||||
CheckedOutBranch *models.Branch
|
||||
}
|
||||
|
||||
@ -50,6 +51,7 @@ func (self *SessionStateLoader) call() *SessionState {
|
||||
SelectedCommitFile: self.c.Contexts().CommitFiles.GetSelectedFile(),
|
||||
SelectedCommitFilePath: self.c.Contexts().CommitFiles.GetSelectedPath(),
|
||||
SelectedSubCommit: self.c.Contexts().SubCommits.GetSelected(),
|
||||
SelectedWorktree: self.c.Contexts().Worktrees.GetSelected(),
|
||||
CheckedOutBranch: self.refsHelper.GetCheckedOutRef(),
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user