diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2022-02-13 17:54:36 +1100 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2022-03-17 19:13:40 +1100 |
commit | bef26b9634a6a4c85028dcb1577161ed2c662b4e (patch) | |
tree | e5c9173615857bbd1e2c683f3189d63d68bd0d95 /pkg/gui/context/reflog_commits_context.go | |
parent | 574c5ca0de046fc0572e722822db3bfbddff4d10 (diff) |
add common commit controller
Diffstat (limited to 'pkg/gui/context/reflog_commits_context.go')
-rw-r--r-- | pkg/gui/context/reflog_commits_context.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkg/gui/context/reflog_commits_context.go b/pkg/gui/context/reflog_commits_context.go index 4a53fe393..8e0dfb8ba 100644 --- a/pkg/gui/context/reflog_commits_context.go +++ b/pkg/gui/context/reflog_commits_context.go @@ -58,6 +58,10 @@ func (self *ReflogCommitsContext) GetSelectedItemId() string { return item.ID() } +func (self *ReflogCommitsContext) CanRebase() bool { + return false +} + type ReflogCommitsViewModel struct { *traits.ListCursor getModel func() []*models.Commit |