checkpatch: Update checkpatch readme and remove addition blank line
Signed-off-by: liuhaitao <liuhaitao@xiaomi.com>
This commit is contained in:
parent
d893d78d90
commit
032a04f4d6
@ -44,6 +44,8 @@ checkpatch.sh
|
||||
-f <file list>
|
||||
- read standard input mainly used by git pre-commit hook as below:
|
||||
git diff --cached | ./tools/checkpatch.sh -
|
||||
Where a <commit list> is any syntax supported by git for specifying git revision, see GITREVISIONS(7)
|
||||
Where a <patch file names> is a space separated list of patch file names or wildcard. or *.patch
|
||||
|
||||
configure.sh
|
||||
configure.bat
|
||||
|
@ -36,7 +36,6 @@ usage() {
|
||||
echo " git diff --cached | ./tools/checkpatch.sh -"
|
||||
echo "Where a <commit list> is any syntax supported by git for specifying git revision, see GITREVISIONS(7)"
|
||||
echo "Where a <patch file names> is a space separated list of patch file names or wildcard. or *.patch"
|
||||
|
||||
}
|
||||
|
||||
check_file() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user