You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Add prek-powered git pre-commit hooks
Adopts the fleet hook pattern established in basecamp/bc3#12423: prek
(j178/prek, a Rust pre-commit reimplementation) installs as a sha256-verified
prebuilt binary via mise's aqua backend, and this change introduces working
commit hooks where none ran before.
- .githooks/pre-commit is checked in with the bin/bcenv shebang; bcenv
transparently re-execs through a login shell so GUI git clients resolve
mise-managed tools
- bin/setup points core.hooksPath at .githooks; anyone who runs bin/setup
(including outside contributors) gets local blocking hooks from then on
- prek.toml declares rubocop (staged files only, --force-exclusion honors
.rubocop.yml) plus the merge-conflict/case-conflict/large-file/private-key
safety builtins
* bcenv: resync from bc3 — seed mise's standard install locations
Byte-identical resync of the canonical bc3 copy (basecamp/bc3#12426): the
non-interactive login shell never reads interactive rc files, so a mise
activated only there (its documented setup) was invisible to the old
/usr/local/bin:/usr/bin:/bin seed. ~/.local/bin (mise.run installer) and
/opt/homebrew/bin (Apple Silicon brew) join the seed so the shims probe
finds mise regardless. Verified upstream by bc3's bcenv behavioral matrix
(22/22, negative control confirmed).
0 commit comments