summaryrefslogtreecommitdiffstats
path: root/pkg/gui/line_by_line_panel.go
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2022-02-22 20:13:11 +1100
committerJesse Duffield <jessedduffield@gmail.com>2022-03-17 19:13:40 +1100
commitecaff7fc6cc3d2e510a88e336abcb74567de3f12 (patch)
tree4c896b81f194659708062a9fa5979f54e7a2ed3e /pkg/gui/line_by_line_panel.go
parent85f23198971de56195a4a1790d70e9d3b4ea1908 (diff)
add commit files controller
Diffstat (limited to 'pkg/gui/line_by_line_panel.go')
-rw-r--r--pkg/gui/line_by_line_panel.go9
1 files changed, 0 insertions, 9 deletions
diff --git a/pkg/gui/line_by_line_panel.go b/pkg/gui/line_by_line_panel.go
index 7f423f115..56de72426 100644
--- a/pkg/gui/line_by_line_panel.go
+++ b/pkg/gui/line_by_line_panel.go
@@ -120,15 +120,6 @@ func (gui *Gui) handleMouseDrag() error {
})
}
-func (gui *Gui) getSelectedCommitFileName() string {
- node := gui.State.Contexts.CommitFiles.GetSelectedFileNode()
- if node == nil {
- return ""
- }
-
- return node.Path
-}
-
func (gui *Gui) refreshMainViewForLineByLine(state *LblPanelState) error {
var includedLineIndices []int
// I'd prefer not to have knowledge of contexts using this file but I'm not sure