The darwin build check for a PR I wanted to backport failed at the merge commit checkout.
To me it seems to be maybe just a coincidence and that a restart could help, but I could’t find an option to do so.
https://github.com/NixOS/nixpkgs/pull/508981
This is the log
Preparing worktree (detached HEAD 02f3fa037)
Error: Unhandled error: 128
Preparing worktree (detached HEAD 0e2bf89ff)
Preparing worktree (detached HEAD 9b64ccf9b)
fatal: failed to read .git/worktrees/trusted/commondir: Undefined error: 0