Worktrees attached to bare repo don't work

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have a bare repository and several worktrees attached to it. That was
working fine until recent update. Now when I try virtually any git
command like `git status` in any attached worktree, or even in a new
one, it prints `fatal: this operation must be run in a work tree`.
The workaround is simply `git config --worktree --add core.bare false`
in each worktree.

I have git version 2.28.0 on Void Linux (musl, amd64).

-- 
Vitaliy `numzero`



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux