asdf-vm/asdf-erlang

Error "fatal: not a git repository" when using git worktree

dorfsmay opened this issue · 0 comments

When trying to install erlang with asdf inside a git worktree, I get the following error when running asdf install elixir:

fatal: not a git repository: /home/yves/repos/myrep/main/.git/worktrees/update-install
Failed to update available versions

Running the same steps in a regular git clone works fine.