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:
@ -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
|
||||
|
Reference in New Issue
Block a user