Date: Wed, 14 Apr 2021 11:48:09 +0200 From: Mateusz Piotrowski <0mp@FreeBSD.org> To: Adriaan de Groot <adridg@freebsd.org>, ports-committers@freebsd.org, dev-commits-ports-all@freebsd.org, dev-commits-ports-main@freebsd.org, Thomas Zander <riggs@freebsd.org> Subject: Re: Please use portname in first line of git commit message (git: 2a0f957e6215 - main - Update to upstream release 56.1.0.) Message-ID: <fc34a7f6-03f8-649c-4f26-2622da017c9e@FreeBSD.org> In-Reply-To: <2434784.0dHE6SNnxz@beastie.bionicmutton.org> References: <202104130537.13D5b5ii008894@gitrepo.freebsd.org> <2434784.0dHE6SNnxz@beastie.bionicmutton.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 13/04/2021 15:13, Adriaan de Groot wrote: > On Tuesday, 13 April 2021 07:37:05 CEST Thomas Zander wrote: >> The branch main has been updated by riggs: >> >> URL: >> https://cgit.FreeBSD.org/ports/commit/?id=2a0f957e621567aa84ff55748d3f59781 >> af43d90 >> >> commit 2a0f957e621567aa84ff55748d3f59781af43d90 >> Author: Thomas Zander <riggs@FreeBSD.org> >> AuthorDate: 2021-04-11 15:55:24 +0000 >> Commit: Thomas Zander <riggs@FreeBSD.org> >> CommitDate: 2021-04-13 05:36:40 +0000 >> >> Update to upstream release 56.1.0. > > 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?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?fc34a7f6-03f8-649c-4f26-2622da017c9e>