Skip to content

[BUG] using editor: lazygit doesn't launch lazygit. #23

Closed

Description

@azinsharaf

Describe the Bug

using editor: lazygit doesn't launch lazygit.

To Reproduce

  • use lazygit as editor.
  • run the tui.
  • seelct a repo and press enter. nothing happens.
  • close the tui.
  • the lazygit log shows:

2026/05/09 22:37:34 Invalid git arg value: 'C:\Users\<username>\repos\<repo_name>'. Must be one of the following values: status, branch, log, stash. e.g. 'lazygit status'. See 'lazygit --help'.

Expected Behavior

open the repo in lazygit

Environment

  • OS: Windows 11 Pro
  • git-scope version: v1.0.1 not sure why --version doesn't show the 1.3.1 version which is installed.
  • installed via scoop: scoop install [email protected]
  • Terminal: Wezterm

Additional Context

if i pass the --path to the lazygit command, it opens lazygit on the first repo i press enter, but exiting lazygit and pressing enter on another repo doesn't do anything again.

editor: lazygit --path or editor: 'lazygit --path'

Activity

  1. Bharath-code commented on Sep 26, 2026

    @Bharath-code
    Owner

    Thanks for the detailed report — the lazygit log line pinned it down. #41 fixes the launch: bare editor: lazygit now opens lazygit in the repo (no positional path), and {path} is supported, e.g. editor: lazygit --path {path}.

    The "Enter does nothing after quitting lazygit" part looks like a Windows input-restore issue in the older bubbletea we shipped; main now uses bubbletea 1.3.10. Could you try the fix branch on Windows and confirm whether you can open lazygit on 3 repos in a row?

    go install github.com/Bharath-code/git-scope/cmd/git-scope@fix/23-editor-launch
    

    The --version showing 1.0.1 is fixed in v1.4.0.

  2. Bharath-code commented on Sep 26, 2026

    @Bharath-code
    Owner

    Update: #41 is merged, so the branch in my previous comment is gone. Please test from main instead:

    go install github.com/Bharath-code/git-scope/cmd/git-scope@main
    
  3. azinsharaf commented on Sep 26, 2026

    @azinsharaf
    Author

    i will

  4. azinsharaf commented on Oct 7, 2026

    @azinsharaf
    Author

    beautiful! it is fixed now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions