[Insight-developers] gerrit server hooks ?

Arnaud GELAS arnaud_gelas at hms.harvard.edu
Thu May 5 11:56:15 EDT 2011


I see!

Local hooks limit the first line commit to 78 characters, the gerrit 
server hook warn if it exceeds at 65 characters.
Is it possible to make it the same?

On 05/05/2011 11:48 AM, Brad King wrote:
> On 05/05/2011 10:33 AM, Arnaud GELAS wrote:
>> remote: (W) 033252f: commit subject>65 characters; use shorter first paragraph
>> remote: (W) 033252f: commit message lines>70 characters; manually wrap lines
> Those checks are implemented by Gerrit itself.  We did not add them.
> They are warning you that the commit message is not formatted for
> easy reading on narrow screens or terminals.
>
>> I am quite surprised that I managed to push, even though this message
>> showed up...
> Since Gerrit is for code review it does not need strict enforcement
> of anything.
>
> -Brad



More information about the Insight-developers mailing list