Closed MattSturgeon closed 3 months ago
Nevermind, I should have read the error more closely!
fatal: not a git repository: /home/matt/nixpkgs.git/worktrees/master
The issue is that I'd renamed the repo from nixpkgs.git
-> nixpkgs
at some point after creating the master
worktree. After pruning the worktree and re-adding it everything works correctly.
I generally prefer to checkout several worktrees on repos where I'm likely to have more than one branch worked on simultaniously, so I'll typically clone a
--bare
repo, thengit worktree add
various directories within it.nixpkgs-review
doesn't seem to support this, failing to find the git repo: