diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2020-08-19 22:59:35 +1000 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2020-08-23 14:29:18 +1000 |
commit | bc410d8e4ad1e105e1fd3f461642f10ba9d5f3e8 (patch) | |
tree | a92bbd5508e2171078a905cf702c25d94bae6ef3 /pkg/gui/line_by_line_panel.go | |
parent | 7561f5aa32304718e698f4f9217e465f6b1cc96b (diff) |
use camelCase
Diffstat (limited to 'pkg/gui/line_by_line_panel.go')
-rw-r--r-- | pkg/gui/line_by_line_panel.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/gui/line_by_line_panel.go b/pkg/gui/line_by_line_panel.go index 4ae8e741a..cd1d289dc 100644 --- a/pkg/gui/line_by_line_panel.go +++ b/pkg/gui/line_by_line_panel.go @@ -332,7 +332,7 @@ func (gui *Gui) handleOpenFileAtLine() error { // again, would be good to use inheritance here (or maybe even composition) var filename string switch gui.State.MainContext { - case "patch-building": + case "patchBuilding": filename = gui.getSelectedCommitFileName() case "staging": file := gui.getSelectedFile() |