Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
script/validate-c: simplify, check everything
Instead of using a complex logic to figure out which files were modified and checking those, just check all files in the repo (not that we have many). This serves two purposes: 1. Making sure the formatting is always checked (I suspect it was not working as it should). 2. Simplify the script logic (a lot). While at it, do some other minor improvements: - actually show the diff to a user (and rely on diff exit code rather than output or the lack thereof); - don't create temp files -- use bash here-file instead. Signed-off-by: Kir Kolyshkin <[email protected]>
- Loading branch information