hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmhs...@apache.org
Subject [05/50] [abbrv] hbase git commit: HBASE-13648 test-patch.sh should ignore 'protobuf.generated'
Date Tue, 19 May 2015 23:14:00 GMT
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/hbase-11339
Commit: a7e77821d2ef7840bd8ba2b750bb3e1e4c787a6c
Parents: 52f635d
Author: Andrey Stepachev <octo47@gmail.com>
Authored: Fri May 8 18:10:25 2015 +0100
Committer: Andrey Stepachev <octo47@gmail.com>
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


Mime
View raw message