On 11/28/2017 11:07 PM, Vitaliy Emporopulo wrote:
> Hi,
> 
>  
> 
> As a committer I’d say it should be enforced. Committers have tons of
> other work to do that cannot be automated.
> 
>  
> 
> On the other hand, the problem with revert Alexis has pointed out must
> be solved. Probably by automatically trimming the original header, so
> that together with the word “revert: “ it’s no more than 50 characters
> long. This way the message will still contain enough info to understand
> which commit was reverted.
> 
>  
> 
> There doesn’t seem to be a suitable hook
> <https://git-scm.com/docs/githooks> for that, but probably the commit
> hook can be modified to check if a commit message starts with “revert: “.

This isn't hook that we can modify how it's checking, it's a gerrit
built in that is being used. The only option we have related to the
subject line is a maximum line length.

-Andy-

-- 
Andrew J Grimberg
Lead, IT Release Engineering
The Linux Foundation

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
ONAP-TSC mailing list
[email protected]
https://lists.onap.org/mailman/listinfo/onap-tsc

Reply via email to