Repository: hbase
Updated Branches:
  refs/heads/master 52f635df0 -> a7e77821d


HBASE-13648 test-patch.sh should ignore 'protobuf.generated'


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/a7e77821
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/a7e77821
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/a7e77821

Branch: refs/heads/master
Commit: a7e77821d2ef7840bd8ba2b750bb3e1e4c787a6c
Parents: 52f635d
Author: Andrey Stepachev <[email protected]>
Authored: Fri May 8 18:10:25 2015 +0100
Committer: Andrey Stepachev <[email protected]>
Committed: Fri May 8 18:10:25 2015 +0100

----------------------------------------------------------------------
 dev-support/test-patch.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/a7e77821/dev-support/test-patch.sh
----------------------------------------------------------------------
diff --git a/dev-support/test-patch.sh b/dev-support/test-patch.sh
index cbcc0aa..701b426 100755
--- a/dev-support/test-patch.sh
+++ b/dev-support/test-patch.sh
@@ -805,7 +805,7 @@ checkLineLengths () {
   #see http://en.wikipedia.org/wiki/Diff#Unified_format
 
   MAX_LINE_LENGTH_PATCH=`expr $MAX_LINE_LENGTH + 1`
-  lines=`cat $PATCH_DIR/patch | grep "^+" | grep -v "^@@" | grep -v "^+++" | 
grep -v "import" | grep -v "org.apache.thrift." | grep -v 
"com.google.protobuf." | grep -v "hbase.protobuf.generated" | awk -v 
len="$MAX_LINE_LENGTH_PATCH" 'length ($0) > len' | head -n 10`
+  lines=`cat $PATCH_DIR/patch | grep "^+" | grep -v "^@@" | grep -v "^+++" | 
grep -v "import" | grep -v "org.apache.thrift." | grep -v 
"com.google.protobuf." | grep -v "protobuf.generated" | awk -v 
len="$MAX_LINE_LENGTH_PATCH" 'length ($0) > len' | head -n 10`
   ll=`echo "$lines" | wc -l`
   if [[ "$ll" -gt "1" ]]; then
     JIRA_COMMENT="$JIRA_COMMENT

Reply via email to