All of lore.kernel.org
 help / color / mirror / Atom feed
From: Yuanhan Liu <yuanhan.liu@linux.intel.com>
To: Thomas Monjalon <thomas.monjalon@6wind.com>
Cc: dev@dpdk.org
Subject: Re: [PATCH] scripts: check commit formatting
Date: Wed, 30 Mar 2016 09:46:34 +0800	[thread overview]
Message-ID: <20160330014634.GC3080@yliu-dev.sh.intel.com> (raw)
In-Reply-To: <1459286986-31148-1-git-send-email-thomas.monjalon@6wind.com>

On Tue, Mar 29, 2016 at 11:29:46PM +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.

Actually, I think we might be able to do 2 tests here:

- space line between paragraphs.

- lines over 80 chars.

	--yliu

  reply	other threads:[~2016-03-30  1:46 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-29 21:29 [PATCH] scripts: check commit formatting Thomas Monjalon
2016-03-30  1:46 ` Yuanhan Liu [this message]
2016-03-30 14:27   ` Bruce Richardson
2016-03-30 14:44     ` Yuanhan Liu
2016-03-30 14:46       ` Bruce Richardson
2016-04-11 10:00     ` Thomas Monjalon
2016-04-11 15:39 ` [PATCH v2] " Thomas Monjalon
2016-04-11 16:13   ` Yuanhan Liu
2016-04-11 21:59     ` Thomas Monjalon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160330014634.GC3080@yliu-dev.sh.intel.com \
    --to=yuanhan.liu@linux.intel.com \
    --cc=dev@dpdk.org \
    --cc=thomas.monjalon@6wind.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.