aboutsummaryrefslogtreecommitdiffstats
path: root/hooks/pre-commit (follow)
Commit message (Collapse)AuthorAgeFilesLines
* hooks: clang-format pre-commit (changed lines only) + .clang-formatuser3 days1-0/+45
Same setup as sl0pboy: git-clang-format scopes formatting to the lines each commit touches, re-adds the formatted files, and refuses partially-staged C files. Style file matches the house style (4-space, attached braces, 100 cols, short cases/ifs inline, no include sorting - order is load-bearing for SDCC userland). Enable once: git config core.hooksPath hooks