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

feat(subcommits): load unlimited sub-commits

This commit is contained in:
Ryooooooga
2023-02-10 21:44:15 +09:00
parent f2aa7e7e28
commit a624e0457f
8 changed files with 71 additions and 9 deletions

View File

@ -75,7 +75,8 @@ func (self *SwitchToSubCommitsController) viewCommits() error {
self.contexts.SubCommits.SetParentContext(self.context)
self.contexts.SubCommits.SetWindowName(self.context.GetWindowName())
self.contexts.SubCommits.SetTitleRef(ref.Description())
self.contexts.SubCommits.SetRefName(ref.RefName())
self.contexts.SubCommits.SetRef(ref)
self.contexts.SubCommits.SetLimitCommits(true)
err = self.c.PostRefreshUpdate(self.contexts.SubCommits)
if err != nil {