On Thu, 17 Jun 2021 at 16:33, Martin Sebor <mse...@gmail.com> wrote: > > On 6/17/21 9:11 AM, Michael Matz wrote: > > Hello, > > > > On Thu, 17 Jun 2021, Martin Sebor via Gcc wrote: > > > >>> The original problem is that the PR wasn't _in the body_ of the commit > >> > >> But I see [PR100085] right there at the end of the _summary line_: > > > > Emphasis mine
Right. How are we still discussing this part of the original issue?! > > Let me make sure I understand: we ask users to put PR numbers > on the first line but the script doesn't consider the first line > a part of the "body" and so it doesn't use the PRs mentioned on > it to update Bugzilla? AFAIK Bugzilla does not process a "PRnnnnn" string anywhere in the commit log. It only processes the full "PR component/nnnn" form. This is stated in the docs: "The body of the commit message should still contain the full form (PR <component>/nnnnn) within the body of the commit message so that Bugzilla will correctly notice the commit." We want it on the subject line for **our** benefit, not bugzilla's. So that the outout of 'git log --oneline' shows useful context.