From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f49.google.com (mail-wm0-f49.google.com [74.125.82.49]) by dpdk.org (Postfix) with ESMTP id 56748C628 for ; Fri, 24 Jun 2016 00:44:24 +0200 (CEST) Received: by mail-wm0-f49.google.com with SMTP id a66so2648561wme.0 for ; Thu, 23 Jun 2016 15:44:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id; bh=0sEW+jzR1nIFbgEBOJa2pjLLDWZtLMrt1c99giT+M/8=; b=tIm95CRE6RwsSETjpsQpKvvCJkAVEW2chD3Y46K68stSH/sLnTcZvtitbzPVvSTXJ2 VJZ/48Zx53kjOTs9nMJM5h8xJRYEJToTcwBwcSa00n18eymu9SiCCIDxy31IwZrguULx 3dn9XfQdcJmp5JmE8p4umCCkuJJHCtUx7WkNx9Uoq3/z22UEmYIrBr8J48hIDYQReIh4 3NNj54LBPkvCxdjoaQ3skjsRpN4ZgAkLNNkPB6F/OpY8emTXHRYJGE4Glb4JizY3XjO2 IEL9bN4NNxETs0LIJK1V6yHgO+TfiPaUs2oK4yPOVpXLB6W+FVPQflha7xA1IWG9CeUY Tw9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id; bh=0sEW+jzR1nIFbgEBOJa2pjLLDWZtLMrt1c99giT+M/8=; b=Mh/aRG1ZoRg2d6Ghv23ex8lyTMBV8ii6j1q07sC2EUmoosqzxxsebj+tIB/wYiEsrv qrlVsgf404qNtGBpvHW9yhCfwQr5Ex3LtrR62DFv9N9dJFbPn1Ko6C01HporhgY4kju9 NIcmY+ZcF4e9KW8vsErp9DmeuZX1p/zSagtvVwQDfHQ49gsjXuEroSgsXTpgfh1h8i2b 8eAAxMhaIxvE+CiKwxziIHe2NXz6mJ0ij+BlOaOoQ+IaQtSvd0QaLTfuepsEpQflxI0p Lc0BLG5BRkJTWBVXLQpxF2ZjcGH0jIF1+2jG4k9cKqjbdYra8IJjb0I7e+IIZv2uFBOv POGw== X-Gm-Message-State: ALyK8tI0g4kv431fGcoHcdvbjWN3Rkfw0Jngo94wz1/lUJNhyR0wgqO6aJHhWwwkzN2D4zHH X-Received: by 10.28.234.16 with SMTP id i16mr15916330wmh.36.1466721863403; Thu, 23 Jun 2016 15:44:23 -0700 (PDT) Received: from XPS13.localdomain (184.203.134.77.rev.sfr.net. [77.134.203.184]) by smtp.gmail.com with ESMTPSA id a84sm144798wma.0.2016.06.23.15.44.22 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 23 Jun 2016 15:44:22 -0700 (PDT) From: Thomas Monjalon To: dev@dpdk.org Date: Fri, 24 Jun 2016 00:44:18 +0200 Message-Id: <1466721858-3432-1-git-send-email-thomas.monjalon@6wind.com> X-Mailer: git-send-email 2.7.0 Subject: [dpdk-dev] [PATCH] scripts: relax line length check for fixed commit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Jun 2016 22:44:24 -0000 It is better to keep the line "Fixes:" longer than 75 characters than splitting. Signed-off-by: Thomas Monjalon --- scripts/check-git-log.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/check-git-log.sh b/scripts/check-git-log.sh index 153f378..4253d14 100755 --- a/scripts/check-git-log.sh +++ b/scripts/check-git-log.sh @@ -111,7 +111,7 @@ bad=$(echo "$headlines" | awk 'length>60 {print}' | sed 's,^,\t,') [ -z "$bad" ] || printf "Headline too long:\n$bad\n" # check body lines length (75 max) -bad=$(echo "$bodylines" | awk 'length>75 {print}' | sed 's,^,\t,') +bad=$(echo "$bodylines" | grep -v '^Fixes:' | awk 'length>75 {print}' | sed 's,^,\t,') [ -z "$bad" ] || printf "Line too long:\n$bad\n" # check tags spelling -- 2.7.0