aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/meta
diff options
context:
space:
mode:
authorLibravatar sommerfeld <sommerfeld@sommerfeld.dev>2026-05-19 16:50:52 +0100
committerLibravatar sommerfeld <sommerfeld@sommerfeld.dev>2026-05-19 16:50:52 +0100
commitae04627b43b4d533088b8a389e5462efed2ae8f6 (patch)
treef4083e02789c5803691defad7aa760abe40d9750 /meta
parent0fc39faa90f97db24043017a845f1754b4bb8b84 (diff)
downloaddotfiles-ae04627b43b4d533088b8a389e5462efed2ae8f6.tar.gz
dotfiles-ae04627b43b4d533088b8a389e5462efed2ae8f6.tar.bz2
dotfiles-ae04627b43b4d533088b8a389e5462efed2ae8f6.zip
refactor(git): use classic .git/hooks/ for per-clone override
Switch the dispatcher's per-clone override location from the bespoke .git/hooks-local/ to the classic .git/hooks/. This is: - The untracked location git has used since forever, so no new convention to learn. - Where husky, lefthook, pre-commit-the-tool, and most other hook managers install by default — they now "just work" again under our global core.hooksPath. git init's *.sample files don't collide because the dispatcher only matches the exact hook name and the executable bit. The only behavior change is that a forgotten legacy .git/hooks/pre-commit from before core.hooksPath was set will start running again — that's arguably restoring expected git semantics, not a regression.
Diffstat (limited to 'meta')
0 files changed, 0 insertions, 0 deletions