Re: Template for commit messages - Mailing list pgsql-hackers

From Magnus Hagander
Subject Re: Template for commit messages
Date
Msg-id CABUevExR7PjCY3qrL+qhFqxvDVcuH_o_JOB_mm20cZFGBdVUTQ@mail.gmail.com
Whole thread Raw
In response to Re: Template for commit messages  (Bruce Momjian <bruce@momjian.us>)
Responses Re: Template for commit messages  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Re: Template for commit messages  (Bruce Momjian <bruce@momjian.us>)
List pgsql-hackers

On Thu, Jan 28, 2016 at 11:49 AM, Bruce Momjian <bruce@momjian.us> wrote:
On Thu, Jan 28, 2016 at 11:30:58AM +0100, Tomas Vondra wrote:
> Any reason why not to adapt the git message conventions from kernel?
>
> https://git.wiki.kernel.org/index.php/CommitMessageConventions
>
> I'd expect there are tools already working with that format, making
> the life easier for us.

Good idea.  :-)  Updated template:

        -- email subject limit -----------------------------------------
        -- gitweb summary limit --------------------------


        Reported-by:

        Bug:

        Patch-by:

        Reviewed-by:

        Backpatch through:

I had to make up "Patch-by:" as it wasn't listed.


The original format uses the author for that (author != committer in git), but that changes how we work a bit more. I'd be happy to just clal it "Author" rather than "Patch-by".

I also suggest a - in "Backpatch-through:" -- since all the others are intentionally mad ewithout a space, I assume that's for easier parsing.

They also had tested-by, it might be an idea to include that as well? 


--

pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Template for commit messages
Next
From: Alvaro Herrera
Date:
Subject: Re: Template for commit messages