aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.chezmoi.toml.tmpl
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
commit0fc39faa90f97db24043017a845f1754b4bb8b84 (patch)
tree066acfd99d41d2f4ebf0d3716ae5f28a06801aa5 /.chezmoi.toml.tmpl
parent67868f51bbab5bc3ef5c8ba15433ba401a297f1a (diff)
downloaddotfiles-0fc39faa90f97db24043017a845f1754b4bb8b84.tar.gz
dotfiles-0fc39faa90f97db24043017a845f1754b4bb8b84.tar.bz2
dotfiles-0fc39faa90f97db24043017a845f1754b4bb8b84.zip
feat(git): per-clone hook override at .git/hooks-local/
Adds an untracked per-clone override layer to the hook dispatcher. Lookup order is now: 1. <git-dir>/hooks-local/<name> — untracked, per-clone, ignored by git 2. <repo-top>/.githooks/<name> — tracked, shared with teammates Use case: a shared repo ships a .githooks/pre-commit you want to locally replace without modifying the tracked file. Drop your hook in .git/hooks-local/<name> (chmod +x) and the dispatcher will run it instead — the global commit-msg trailer-strip and pre-push gate still run on top. If neither override exists, only the global user-level logic runs.
Diffstat (limited to '.chezmoi.toml.tmpl')
0 files changed, 0 insertions, 0 deletions