Files
nixos-configs/hosts/pinwheel
Alexander Heldt b794227722 pinwheel: Ask before allowing a worktree's .envrc that differs from main's
wt allowed a new worktree's .envrc only when it matched the primary
checkout's, and left it blocked otherwise. A branch based on an older
main has an older .envrc, so its worktree stayed blocked, `direnv exec`
failed, no .bsp/pants.json was written and Metals set up scala-cli
instead. The warning saying so scrolled away when a review started
Emacs.

It now compares with main's .envrc: the same content is allowed as
before, and different content is shown as a diff with a y/N prompt
before anything else runs. Comparing with main rather than the primary's
working copy also stops wt allowing content that was never approved in
the primary.
2026-11-25 08:51:24 +01:00
..
2026-07-21 08:58:55 +02:00