git-ents.gitmain
⌘K
foforge
commit 993219b
chore(checks): exclude vendored files from the formatting hooks

Vendored content (tracked in .gitvendors) is kept byte-for-byte as upstream so git-vendor can diff it against the recorded base; letting the whitespace and end-of-file hooks rewrite it would show false drift.

chore(checks): exclude the vendored icons directory from pre-commit Assisted-by: Claude:claude-opus-4-8

Joseph D. Carpinelli · 1 month ago

Reviews

No reviews of this commit yet — record a verdict below.

Start a review

verdict

.config/pre-commit.yaml @@ -1,4 +1,6 @@ -exclude: ^(.*/)?(CHANGELOG\.md)$ +# Vendored content (see .gitvendors) is kept byte-for-byte as upstream, so it +# must not be reformatted by the hooks below. +exclude: ^(.*/)?(CHANGELOG\.md)$|^crates/git-ents-server/src/web/icons/ default_install_hook_types: [pre-commit, commit-msg] repos: - repo: https://github.com/pre-commit/pre-commit-hooks