Re: Commit subject line - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: Commit subject line
Date
Msg-id 5184055A.6090202@dunslane.net
Whole thread Raw
In response to Re: Commit subject line  (Bruce Momjian <bruce@momjian.us>)
List pgsql-hackers
On 05/03/2013 01:56 PM, Bruce Momjian wrote:
> On Fri, May  3, 2013 at 01:42:33PM -0400, Andrew Dunstan wrote:
>> On 05/03/2013 01:23 PM, Bruce Momjian wrote:
>>> Not sure if I mentioned this, but having first line of the commit be a
>>> subject has save me lots of time in writing the release notes.  I know
>>> it is helpful to others too who browse our commits on websites.
>>>
>>
>> Yeah. The recommended style is to have the first line be 50 chars or
>> less, which is a bit unfortunate - it can be a challenge to keep to
>> that limit for a meaningful or comprehensive subject.
> Yes, I know mine are often cut-off.  What I just did was to add a
> 50-character dashed line to the top of my editor window for commits so I
> can see the limit each time  --- that should help me.
>


vim does better than this. It color codes the characters so they change 
color after 50 chars in the first line.


cheers

andrew



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Commit subject line
Next
From: Simon Riggs
Date:
Subject: Re: corrupt pages detected by enabling checksums