<div dir="ltr"><div>Can I ask a different question - could we reject a few simple-to-check things on the push, like bad commit messages? For things that take 2 seconds to fix and do make people's lives better, it's not that they're rejected, it's that the whole rejection cycle via gerrit review (push/wait for tests to run/check website/swear/find change/fix/push again) is out of proportion to the effort taken to fix it.<br><br>It seems here that there's benefit to 72 line messages - not that everyone sees that benefit, but it is present - but it doesn't outweigh the current cost.<br>-- <br></div><div>Ian.<br><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 25 September 2015 at 12:02, Jeremy Stanley <span dir="ltr"><<a href="mailto:fungi@yuggoth.org" target="_blank">fungi@yuggoth.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 2015-09-25 16:15:15 +0000 (+0000), Fox, Kevin M wrote:<br>
> Another option... why are we wasting time on something that a<br>
> computer can handle? Why not just let the line length be infinite<br>
> in the commit message and have gerrit wrap it to <insert random<br>
> number here> length lines on merge?<br>
<br>
</span>The commit message content (including whitespace/formatting) is part<br>
of the data fed into the hash algorithm to generate the commit<br>
identifier. If Gerrit changed the commit message at upload, that<br>
would alter the Git SHA compared to your local copy of the same<br>
commit. This quickly goes down a Git madness rabbit hole (not the<br>
least of which is that it would completely break signed commits).<br>
<span class="HOEnZb"><font color="#888888">--<br>
Jeremy Stanley<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
</div></div></blockquote></div><br></div>