You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2020/04/14 04:32:38 UTC

[incubator-nuttx] branch master updated: checkpatch: Update checkpatch readme and remove addition blank line

This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new 032a04f  checkpatch: Update checkpatch readme and remove addition blank line
032a04f is described below

commit 032a04f4d6594c7feddf0ec50aa33a8313ce879c
Author: liuhaitao <li...@xiaomi.com>
AuthorDate: Mon Apr 13 16:55:47 2020 +0800

    checkpatch: Update checkpatch readme and remove addition blank line
    
    Signed-off-by: liuhaitao <li...@xiaomi.com>
---
 tools/README.txt    | 2 ++
 tools/checkpatch.sh | 1 -
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/tools/README.txt b/tools/README.txt
index 6e6a5df..dc43240 100644
--- a/tools/README.txt
+++ b/tools/README.txt
@@ -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
diff --git a/tools/checkpatch.sh b/tools/checkpatch.sh
index 48b9f29..3fbc559 100755
--- a/tools/checkpatch.sh
+++ b/tools/checkpatch.sh
@@ -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() {