arjav1528 commented on code in PR #18426:
URL: https://github.com/apache/nuttx/pull/18426#discussion_r2873388672


##########
tools/checkpatch.sh:
##########
@@ -406,7 +442,12 @@ while [ ! -z "$1" ]; do
 done
 
 for arg in $@; do
-  $check $arg
+  if [ "$arg" = "--stdin" ] && [ "$check" = "check_commit" ]; then

Review Comment:
   right, I have modified the change, such that check_patch (-p) now supports 
--stdin: patch content can be read from stdin (e.g. cat foo.patch | 
./tools/checkpatch.sh -p --stdin



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to