Re: Template for commit messages

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема Re: Template for commit messages
Дата
Msg-id CABUevExR7PjCY3qrL+qhFqxvDVcuH_o_JOB_mm20cZFGBdVUTQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Template for commit messages  (Bruce Momjian <bruce@momjian.us>)
Ответы Re: Template for commit messages  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Re: Template for commit messages  (Bruce Momjian <bruce@momjian.us>)
Список 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 по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Template for commit messages
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: Template for commit messages