From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yuanhan Liu Subject: Re: [PATCH v2] scripts: check commit formatting Date: Tue, 12 Apr 2016 00:13:42 +0800 Message-ID: <20160411161342.GG3080@yliu-dev.sh.intel.com> References: <1459286986-31148-1-git-send-email-thomas.monjalon@6wind.com> <1460389145-5570-1-git-send-email-thomas.monjalon@6wind.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: dev@dpdk.org To: Thomas Monjalon Return-path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 0E6F92E83 for ; Mon, 11 Apr 2016 18:11:08 +0200 (CEST) Content-Disposition: inline In-Reply-To: <1460389145-5570-1-git-send-email-thomas.monjalon@6wind.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Mon, Apr 11, 2016 at 05:39:05PM +0200, Thomas Monjalon wrote: > The git messages have three parts: > 1/ the headline > 2/ the explanations > 3/ the footer tags > > The headline helps to quickly browse an history or catch instantly the > purpose of a commit. Making it short with some consistent wording > allows to easily parse it or match some patterns. > > The explanations must give some keys like the reason of the change. > Nothing can be automatically checked for this part, except line length. > > The footer contains some tags to find the origin of a bug or who > was working on it. > > This script is doing some basic checks mostly on parts 1 and 3. > > Signed-off-by: Thomas Monjalon Reviewed-by: Yuanhan Liu --yliu