Azat Khuzhin
da11fcc881
checkpatch.sh: fix clang-format-diff usage
...
- strip 1 path component
- it does not accept file name anymore, only stdin
Refs: #1029
(cherry picked from commit 89d313b14dffed7271f41f4e2d68ccfe6b6475ed)
2020-06-28 21:35:11 +03:00
Azat Khuzhin
9c2b49c772
checkpatch.sh: fix usage
...
Refs: #1029
(cherry picked from commit 8209a623addf6688243eeb6ebb9ece6a20206437)
2020-06-28 21:35:11 +03:00
Wataru Ashihara
b0e9577f36
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:... }
(cherry picked from commit 866fbb54570c74f215208b237ddce48fb79d2cd6)
2020-06-28 21:35:11 +03:00
Azat Khuzhin
d482486a15
Add checkpatch script
...
Support:
- files
- files-diffs
- patches
- git-refs
2016-10-05 15:51:40 +03:00