mirror of
https://github.com/apache/nuttx.git
synced 2026-05-31 05:45:20 +08:00
checkpatch: Update checkpatch readme and remove addition blank line
Signed-off-by: liuhaitao <liuhaitao@xiaomi.com>
This commit is contained in:
@@ -44,6 +44,8 @@ checkpatch.sh
|
|||||||
-f <file list>
|
-f <file list>
|
||||||
- read standard input mainly used by git pre-commit hook as below:
|
- read standard input mainly used by git pre-commit hook as below:
|
||||||
git diff --cached | ./tools/checkpatch.sh -
|
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.sh
|
||||||
configure.bat
|
configure.bat
|
||||||
|
|||||||
@@ -36,7 +36,6 @@ usage() {
|
|||||||
echo " git diff --cached | ./tools/checkpatch.sh -"
|
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 <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"
|
echo "Where a <patch file names> is a space separated list of patch file names or wildcard. or *.patch"
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
check_file() {
|
check_file() {
|
||||||
|
|||||||
Reference in New Issue
Block a user