davids5 commented on a change in pull request #2: Master pr nxstyle improvments
URL: https://github.com/apache/incubator-nuttx/pull/2#discussion_r360886136
 
 

 ##########
 File path: tools/check_code_style.sh
 ##########
 @@ -0,0 +1,33 @@
+#!/usr/bin/env bash
+
+if [ -z "$1" ]; then
+       FILES=$(git diff master --name-only);
 
 Review comment:
   > Similar problem here. You must check if .git/ exists. If it does not, you 
may not use any git commands. Most users do not have .git/ and this will break 
for the majority of users.
   
   Done.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to