<div dir="auto">It has to be manually edited right before you commit/merge on GitHub.<div dir="auto">I don't think it can be automatically changed? Unless we have some kind of post commit hook to amend the commit message.</div><div dir="auto"><br><div dir="auto"><div dir="auto">I've been changing it to GH- , so does miss-islington when she backports. </div><div dir="auto"><br></div><div dir="auto">If you see the mixed GH- and # in the backports PR, it's because miss-islington converted the first one.</div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Jan 25, 2018 4:21 AM, "Berker Peksağ" <<a href="mailto:berker.peksag@gmail.com">berker.peksag@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Thu, Jan 25, 2018 at 1:42 PM, INADA Naoki <<a href="mailto:songofacandy@gmail.com">songofacandy@gmail.com</a>> wrote:<br>
> Hi.<br>
><br>
> Devguide says:<br>
><br>
> """<br>
> Replace the reference to GitHub pull request #NNNN with GH-NNNN. If<br>
> the title is too long, the pull request number can be added to the<br>
> message body.<br>
> """<br>
><br>
> <a href="https://devguide.python.org/gitbootcamp/#accepting-and-merging-a-pull-request" rel="noreferrer" target="_blank">https://devguide.python.org/<wbr>gitbootcamp/#accepting-and-<wbr>merging-a-pull-request</a><br>
><br>
> But there are more #NNNN than GH-NNNN in commit log.<br>
> <a href="https://github.com/python/cpython/commits/master" rel="noreferrer" target="_blank">https://github.com/python/<wbr>cpython/commits/master</a><br>
><br>
> Where should we go?<br>
> Encourage GH-NNNN? or abandon it and use default #NNNN?<br>
<br>
I'd personally drop both GH-NNNN and #NNNN markers. The number of the<br>
PR is already linked to the commit on GitHub:<br>
<a href="https://www.dropbox.com/s/zzm9f56485pbl1v/Screenshot%20from%202018-01-25%2015%3A14%3A28.png?dl=0" rel="noreferrer" target="_blank">https://www.dropbox.com/s/<wbr>zzm9f56485pbl1v/Screenshot%<wbr>20from%202018-01-25%2015%3A14%<wbr>3A28.png?dl=0</a><br>
<br>
You can even see both styles in the same commit (especially in backport PRs)<br>
<br>
     bpo-42: Fix spam eggs (GH-2341) (#2211)<br>
<br>
--Berker<br>
______________________________<wbr>_________________<br>
Python-Dev mailing list<br>
<a href="mailto:Python-Dev@python.org">Python-Dev@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/python-dev" rel="noreferrer" target="_blank">https://mail.python.org/<wbr>mailman/listinfo/python-dev</a><br>
Unsubscribe: <a href="https://mail.python.org/mailman/options/python-dev/mariatta.wijaya%40gmail.com" rel="noreferrer" target="_blank">https://mail.python.org/<wbr>mailman/options/python-dev/<wbr>mariatta.wijaya%40gmail.com</a><br>
</blockquote></div></div>