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

include stash in commitish controller

This commit is contained in:
Jesse Duffield
2022-02-13 18:26:44 +11:00
parent e842d1bc9e
commit a643957f89
13 changed files with 135 additions and 113 deletions

View File

@ -62,6 +62,16 @@ func (self *ReflogCommitsContext) CanRebase() bool {
return false
}
func (self *ReflogCommitsContext) GetSelectedRefName() string {
item := self.GetSelected()
if item == nil {
return ""
}
return item.RefName()
}
type ReflogCommitsViewModel struct {
*traits.ListCursor
getModel func() []*models.Commit