aboutsummaryrefslogtreecommitdiffstats
path: root/hooks (unfollow)
Commit message (Collapse)AuthorFilesLines
3 dayshooks: clang-format pre-commit (changed lines only) + .clang-formatuser1-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