4 Commits

Author SHA1 Message Date
Azat Khuzhin
89d313b14d checkpatch.sh: fix clang-format-diff usage
- strip 1 path component
- it does not accept file name anymore, only stdin

Refs: #1029
2020-05-27 20:36:38 +03:00
Azat Khuzhin
8209a623ad checkpatch.sh: fix usage
Refs: #1029
2020-05-27 20:36:28 +03:00
Wataru Ashihara
866fbb5457
Fix clang-format-diff usage
"--style" is invalid:

$ ./checkpatch.sh -r HEAD
usage: clang-format-diff [-h] [-i] [-p NUM] [-regex PATTERN] [-iregex PATTERN]
                         [-sort-includes] [-v] [-style STYLE] [-binary BINARY]
clang-format-diff: error: unrecognized arguments: --style={ Language:... }
2020-05-28 00:06:20 +09:00
Azat Khuzhin
d482486a15 Add checkpatch script
Support:
- files
- files-diffs
- patches
- git-refs
2016-10-05 15:51:40 +03:00