<div dir="ltr">thank you</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Aug 19, 2013 at 12:52 AM, 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"><div class="im">On 2013-08-18 14:25:22 +0800 (+0800), ZhiQiang Fan wrote:<br>
> When submit code review in gerrit, i have been recommended put<br>
> Fixes-Bug: #bug-id/Implement-Blueprint: #bp-desc before chang-id.<br>
> However, when first run git commit in a seperate patch branch,<br>
> the change-id will generate before bug/bp, it is automatically,<br>
> so i have to use git commit --amend to modify the commit message<br>
> and put bug/bp before chang-id.<br>
><br>
> Is there any way to let Change-id generate after whole commit<br>
> message? (more precisely, after bug/bp.)<br>
<br>
</div>Gerrit's Change-Id metadata header line doesn't need to be the very<br>
last line, it just needs to be one of the lines in the last<br>
paragraph of the commit message. This is standard for all metadata<br>
headers including things common elsewhere like Signed-Off-By but the<br>
same goes for our Fixes/Partial/Related-Bug and Implements-Blueprint<br>
metadata headers as well. When used they should always appear<br>
one-per-line in the final paragraph of the commit message, but their<br>
relative order is unimportant.<br>
<span class="HOEnZb"><font color="#888888">--<br>
Jeremy Stanley<br>
<br>
_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><div>blog: <a href="http://zqfan.github.com" target="_blank">zqfan.github.com</a><br></div>git: <a href="http://github.com/zqfan" target="_blank">github.com/zqfan</a><br>
</div>
</div>