lazygit icon indicating copy to clipboard operation
lazygit copied to clipboard

errors.errorString fatal: no es un repositorio git

Open facundo-cachan opened this issue 5 years ago • 2 comments

➜ ~ lazygit

2020/06/29 02:59:09 An error occurred! Please create an issue at https://github.com/jesseduffield/lazygit/issues

*errors.errorString fatal: no es un repositorio git (ni ninguno de los directorios superiores): .git

/private/tmp/lazygit-20200519-26505-o2pw9h/lazygit-0.20.4/pkg/commands/os.go:188 (0x1628c13) /private/tmp/lazygit-20200519-26505-o2pw9h/lazygit-0.20.4/pkg/commands/os.go:98 (0x1628202) /private/tmp/lazygit-20200519-26505-o2pw9h/lazygit-0.20.4/pkg/commands/os.go:154 (0x16aca0d) /private/tmp/lazygit-20200519-26505-o2pw9h/lazygit-0.20.4/pkg/app/app.go:133 (0x16ac9d3) /private/tmp/lazygit-20200519-26505-o2pw9h/lazygit-0.20.4/pkg/app/app.go:116 (0x16ac722) /private/tmp/lazygit-20200519-26505-o2pw9h/lazygit-0.20.4/main.go:67 (0x16adbdb) /usr/local/Cellar/go/1.14.3/libexec/src/runtime/proc.go:203 (0x1036f42) /usr/local/Cellar/go/1.14.3/libexec/src/runtime/asm_amd64.s:1373 (0x1064731)

facundo-cachan avatar Jun 29 '20 06:06 facundo-cachan

We listen for this message and handle it more gracefully but unfortunately we don't listen for any language other than english. Using a git plumbing command would be beneficial here

jesseduffield avatar Aug 23 '20 11:08 jesseduffield

This should be solved in v0.35? The underlying error about not being able to find a .git directory, not the plumbing approach.

@facundo-cachan could you give the latest release (or master) a spin?

mark2185 avatar Aug 07 '22 16:08 mark2185

Closing due to inactivity

jesseduffield avatar Jul 20 '23 11:07 jesseduffield