Skip to content

yadm repo failed #2061

@timsofteng

Description

@timsofteng

Describe the bug
When I try to open lazygit in yadm repo directory in fails.

Here is the log

> lg
2022/07/28 21:54:38 An error occurred! Please create an issue at: https://github.com/jesseduffield/lazygit/issues

*errors.errorString Must open lazygit in a git repository
github.com/jesseduffield/lazygit/pkg/commands/git.go:187 (0x564de03eca45)
github.com/jesseduffield/lazygit/pkg/commands/git.go:60 (0x564de03eb71f)
github.com/jesseduffield/lazygit/pkg/gui/gui.go:480 (0x564de044ddd3)
github.com/jesseduffield/lazygit/pkg/app/app.go:138 (0x564de049a959)
github.com/jesseduffield/lazygit/main.go:135 (0x564de049c7eb)
runtime/proc.go:250 (0x564ddfef6153)
runtime/asm_amd64.s:1571 (0x564ddff23be1)

To Reproduce
Steps to reproduce the behavior:

  1. Install yadm.
  2. Do yadm init
  3. Go to /home/user/.local/share/yadm/repo.git/
  4. Try to invoke lazygit

Expected behavior
Lazygit should work as in ordinary git repo.

Desktop (please complete the following information):

  • OS: Alpine Linux
  • Lazygit Version 0.34

Additional context
Add any other context about the problem here.

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