mklog: add subject line skeleton
authorJason Merrill <jason@redhat.com>
Wed, 16 Jun 2021 20:46:38 +0000 (16:46 -0400)
committerJason Merrill <jason@redhat.com>
Thu, 17 Jun 2021 17:15:57 +0000 (13:15 -0400)
commit58e3b17f4c42d050a1768b025712e6d18bcb76ae
tree1a965d1d8e4e247856b919f1e2f0f4b22587e427
parent00f730ec3a24fd1453b3ee96e8a50a29d5db3ac3
mklog: add subject line skeleton

In the recent gcc-commit-mklog thread on gcc@ it occurred to me that the
command could also fill in part of the subject line.  If the first PR is
foo/1234, and the commit does not yet have a subject line, this will add

foo: [PR1234]

contrib/ChangeLog:

* mklog.py: Add an initial component: [PRnnnnn] line when
we have a PR.
contrib/mklog.py