From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f46.google.com (mail-wm0-f46.google.com [74.125.82.46]) by dpdk.org (Postfix) with ESMTP id 6F778AD90 for ; Fri, 8 Jul 2016 19:50:45 +0200 (CEST) Received: by mail-wm0-f46.google.com with SMTP id p190so3847094wmp.1 for ; Fri, 08 Jul 2016 10:50:45 -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=LoUgRGHosjMRKv17LxZJCC5W9BJm8xqaGyQC/hpVB6E=; b=aO1oYZHFxhv1lFJVqb+vGKC75rg4bacx0GsD0kYDBurREzzvyPd/HNaBu4r51vny8l FBvnrPfQJVCnsKedMowOUpC+MD2QOyjyny3X4uDiqjoiftrg8zKUOosb8IDdnLBDnSjG PtTdBZOs/Lih2JFrClBkyehKVAnSMR7yVDhOGGobI83jp7JobGnDAV7LIroX4R2vGMbr aKbwzs2Ikxe0aHqwOwGlgKmEb2g8oR9GIFMHvdTg4HS7Q53QgOT/6R27mxwyQoK5zt2u w6ErpghwaayvWsCKDSrbcEUeiUjcEWLbX2Z/ToNLAe+cWAZdJkz6BPMJ2iDjWuXYjwNq VpNQ== 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=LoUgRGHosjMRKv17LxZJCC5W9BJm8xqaGyQC/hpVB6E=; b=aZLLBjUFkmLRmGZUEBkOyZrp1dywgQpVP8THVuhTP/CRdv0Ni+SrXNjHHJ61HeblLo DJcwSC2Dk0DXXhppKeHHAoswaqBsox0nNzmKYWouE46fofpGhvx8SHStv26KQw1ALSX9 1GW4rsKkR8QlYc4CjwhLrdgBPERWXnceaPl9lOgevwb1amgQjGgW7QoPablG7bu0dxh1 rn3QN/Ymv0vyYB20X0gI4SQjjsmj6vpQrxdTpzPIHlDnUm/3VKjzn2XzW6zk3eVFPq7g UoNhkSSGqb8mMjiOPpAZIwrOLaMThpw+TCo7TYRcSLCr8uUHdU+ZmPiLNi4OQo2VU0H+ sO/Q== X-Gm-Message-State: ALyK8tJcagMFLuOKmyx9TCB83EWHZ8IX9A7LkEmTySlNpheT5p/HuDQYg0xUyZiQGQX2odCf X-Received: by 10.195.30.3 with SMTP id ka3mr6461932wjd.9.1468000244992; Fri, 08 Jul 2016 10:50:44 -0700 (PDT) Received: from XPS13.localdomain (184.203.134.77.rev.sfr.net. [77.134.203.184]) by smtp.gmail.com with ESMTPSA id km8sm6186299wjc.43.2016.07.08.10.50.43 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 08 Jul 2016 10:50:44 -0700 (PDT) From: Thomas Monjalon To: dev@dpdk.org Date: Fri, 8 Jul 2016 19:50:31 +0200 Message-Id: <1468000231-13468-1-git-send-email-thomas.monjalon@6wind.com> X-Mailer: git-send-email 2.7.0 Subject: [dpdk-dev] [PATCH] scripts: fix commit check for empty list 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: Fri, 08 Jul 2016 17:50:45 -0000 When running check-git-log.sh on a clean tree it was complaining of a wrong empty headline because '^[^:]*$' was matching. It is fixed by matching at least one character with +. 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 7d2c7ee..c2a3ac0 100755 --- a/scripts/check-git-log.sh +++ b/scripts/check-git-log.sh @@ -62,7 +62,7 @@ bad=$(echo "$headlines" | grep --color=always \ -e '\.$' \ -e '[,;!?&|]' \ -e ':.*_' \ - -e '^[^:]*$' \ + -e '^[^:]\+$' \ -e ':[^ ]' \ -e ' :' \ | sed 's,^,\t,') -- 2.7.0