diff options
| author | gbc dev <gbc@localhost> | 2026-07-18 20:57:37 +0200 |
|---|---|---|
| committer | gbc dev <gbc@localhost> | 2026-07-18 20:57:37 +0200 |
| commit | 4901afc59a43841a7cd9e5aee5fbdbd5966a8171 (patch) | |
| tree | ce5fe093e2896cf583ae0fbec123b3999777f8d4 /Makefile | |
| parent | README: fix source paths in Architecture table (src/ prefix) (diff) | |
| download | sl0pboy-4901afc59a43841a7cd9e5aee5fbdbd5966a8171.tar.gz sl0pboy-4901afc59a43841a7cd9e5aee5fbdbd5966a8171.tar.xz sl0pboy-4901afc59a43841a7cd9e5aee5fbdbd5966a8171.zip | |
hooks: clang-format pre-commit (changed lines only) + .clang-format
git-clang-format scopes formatting to the lines each commit touches -
a full-file reformat would destroy the deliberately dense hand
formatting (opcode tables, multi-statement helpers). The hook re-adds
formatted files (git-clang-format --staged fixes the worktree, not the
index) and refuses partially-staged C files rather than mixing staged
and unstaged changes. Enable once: git config core.hooksPath hooks
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions
