There's a merged pull request on the void-packages repository [RFC] Support git worktree https://github.com/void-linux/void-packages/pull/21207 Description: My effort to address #20393 ~This PR haven't set `XBPS_REPOSITORY` to correct branch yet.~