Please use portname in first line of git commit message (git: 2a0f957e6215 - main - Update to upstream release 56.1.0.)

Marc Fonvieille blackend at freebsd.org
Wed Apr 14 09:58:33 UTC 2021


Le 14.04.2021 11:48, Mateusz Piotrowski a écrit :
> > The git email doesn't know what paths have been committed, and "just" uses the
> > first line of the commit message. Many people now use
> >
> > 	<category>/<port>: <change summary>
> >
> > as the first line of the commit message, also because "git log" doesn't show
> > files by default, and convenient git-history viewers like gitk and qgit show
> > the first line of the commit message in overviews. Using this format for the
> > first line of a commit message (followed by one blank line) helps all
> > consumers of the git tree -- you can spot a couple by me that do *not* follow
> > this format as well, that was before I realised that "this can be better". (It
> > does take a while to develop the muscle memory to do it this way).
> >
> > [ade]
> 
> Perhaps we could add a note about it to the commit message template for ports?
>

Yes, please.

-- 
Marc


More information about the dev-commits-ports-main mailing list