Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New Bug: "Error: must be run inside a git repository" #3895

Closed
barnacker opened this issue Sep 6, 2024 · 2 comments
Closed

New Bug: "Error: must be run inside a git repository" #3895

barnacker opened this issue Sep 6, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@barnacker
Copy link

barnacker commented Sep 6, 2024

Describe the bug
Switched to latest 0.43.1 and now I can't invoke Lazygit from anywhere anymore, it has to be in a repo just to then be able to select the repo I want.

To Reproduce
Run Lazygit outside a repo, no matter if you set "skip" mode or whatever config settings, it just crashes instantly.

Expected behavior
Open Lazygit and either show the repo selector menu or load the last repo depending on my config and desired behaviour.

Screenshots
2024/09/06 10:14:07 Error: must be run inside a git repository

Version info:
commit=, build date=, build source=nix, version=0.43.1, os=linux, arch=amd64, git version=2.46.0
git version 2.46.0

@barnacker barnacker added the bug Something isn't working label Sep 6, 2024
@barnacker barnacker changed the title New Bug: Error: must be run inside a git repository New Bug: "Error: must be run inside a git repository" Sep 6, 2024
@stefanhaller
Copy link
Collaborator

This is already fixed on master, see #3779. We'll hopefully have a new release soon.

@stefanhaller
Copy link
Collaborator

Fixed in v0.44.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants