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:
@ -86,6 +86,16 @@ func (self *LocalCommitsContext) CanRebase() bool {
|
||||
return true
|
||||
}
|
||||
|
||||
func (self *LocalCommitsContext) GetSelectedRefName() string {
|
||||
item := self.GetSelected()
|
||||
|
||||
if item == nil {
|
||||
return ""
|
||||
}
|
||||
|
||||
return item.RefName()
|
||||
}
|
||||
|
||||
func (self *LocalCommitsViewModel) GetItemsLength() int {
|
||||
return len(self.getModel())
|
||||
}
|
||||
|
Reference in New Issue
Block a user