jesseduffield / lazygit

simple terminal UI for git commands
MIT License
50.95k stars 1.79k forks source link

Closes with error 114 on trying to open file in reflog #1285

Open ruslanzelinskyy opened 3 years ago

ruslanzelinskyy commented 3 years ago

Describe the bug Closes with error 114 on trying to open file in reflog

To Reproduce Steps to reproduce the behavior:

  1. go to panel 4 (reflog)
  2. choose commit
  3. choose file and press enter
  4. press o (open)
  5. See error

Expected behavior open file in default text editor?

Screenshots *errors.errorString unknown main context: normal github.com/jesseduffield/lazygit/pkg/gui/line_by_line_panel.go:349 (0x55caac7f7605) github.com/jesseduffield/lazygit/pkg/gui/line_by_line_panel.go:415 (0x55caac7cd036) github.com/jesseduffield/lazygit/pkg/gui/line_by_line_panel.go:336 (0x55caac7cccd0) github.com/jesseduffield/lazygit/pkg/gui/view_helpers.go:404 (0x55caac800de8) github.com/jesseduffield/lazygit/pkg/gui/options_menu_panel.go:64 (0x55caac7f99ac) github.com/jesseduffield/lazygit/pkg/gui/menu_panel.go:98 (0x55caac7d355a) github.com/jesseduffield/lazygit/pkg/gui/view_helpers.go:404 (0x55caac800de8) github.com/jesseduffield/gocui@v0.3.1-0.20210208224444-2eecee85583d/gui.go:963 (0x55caac762b3d) github.com/jesseduffield/gocui@v0.3.1-0.20210208224444-2eecee85583d/gui.go:943 (0x55caac762b3e) github.com/jesseduffield/gocui@v0.3.1-0.20210208224444-2eecee85583d/gui.go:863 (0x55caac7628bd) github.com/jesseduffield/gocui@v0.3.1-0.20210208224444-2eecee85583d/gui.go:551 (0x55caac760f48) github.com/jesseduffield/gocui@v0.3.1-0.20210208224444-2eecee85583d/gui.go:499 (0x55caac760909) github.com/jesseduffield/lazygit/pkg/gui/gui.go:507 (0x55caac7ae945) github.com/jesseduffield/lazygit/pkg/gui/gui.go:520 (0x55caac7aee28) github.com/jesseduffield/lazygit/pkg/app/app.go:240 (0x55caac80df93) github.com/jesseduffield/lazygit/main.go:126 (0x55caac80f8bb) runtime/proc.go:225 (0x55caac2760c3) runtime/asm_amd64.s:1371 (0x55caac2aa2e1)

Desktop (please complete the following information):

jesseduffield commented 3 years ago

@ruslanzelinskyy could you give this another go on the latest version?