summaryrefslogtreecommitdiffstats
path: root/pkg/gui/commits_panel.go
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2020-08-19 19:31:58 +1000
committerJesse Duffield <jessedduffield@gmail.com>2020-08-23 14:29:18 +1000
commit2fac2f9f1f5f662c7a382e1b625d6128caa80093 (patch)
treecf7c71db43a503d095ce90026201db65c57fdbb7 /pkg/gui/commits_panel.go
parente4beaf4de96afee804d019e7c19eee833d3b1801 (diff)
WIP
Diffstat (limited to 'pkg/gui/commits_panel.go')
-rw-r--r--pkg/gui/commits_panel.go13
1 files changed, 0 insertions, 13 deletions
diff --git a/pkg/gui/commits_panel.go b/pkg/gui/commits_panel.go
index 7f6e0a5e4..326a892e9 100644
--- a/pkg/gui/commits_panel.go
+++ b/pkg/gui/commits_panel.go
@@ -636,19 +636,6 @@ func (gui *Gui) renderBranchCommitsWithSelection() error {
return nil
}
-func (gui *Gui) refreshCommitsViewWithSelection() error {
- commitsView := gui.getCommitsView()
-
- switch commitsView.Context {
- case "branch-commits":
- return gui.Contexts.BranchCommits.Context.HandleRender()
- case "reflog-commits":
- return gui.renderReflogCommitsWithSelection()
- }
-
- return nil
-}
-
func (gui *Gui) handleCreateCommitResetMenu(g *gocui.Gui, v *gocui.View) error {
commit := gui.getSelectedCommit()
if commit == nil {