Please use conventional commit messages (Re: git: 2a9b7ca2a362)
Alexey Dokuchaev
danfe at freebsd.org
Thu Apr 29 04:10:06 UTC 2021
On Wed, Apr 28, 2021 at 12:44:24PM +0000, Rene Ladan wrote:
> On Wed, Apr 28, 2021 at 11:53:46AM +0000, Alexey Dokuchaev wrote:
> > On Wed, Apr 28, 2021 at 12:36:39PM +0200, Adriaan de Groot wrote:
> > > On Wednesday, 28 April 2021 12:17:13 CEST Alexey Dokuchaev wrote:
> > > > commit 2a9b7ca2a3620249bfad050ac3eee6d859926213
> > > > ...
> > > >
> > > > Update `www/web2ldap' to version 1.5.117.
> > >
> > > Please use conventional commit messages, [...]
Forgot to mention: this "conventional" format of yours adds really a lot
of noise to the "git log ." output which in turn makes history harder to
study and navigate around. Extra blank lines pessimize it even further.
> > I think it is conventional enough. I'd prefer it even better without
> > the embedded port name, but I guess I can buy the reasoning why people
> > want to see it there. As for its position, I find "foo/bar: blah"
> > inconvenient, unnatural, and hard to read.
>
> This just makes scanning commit mails harder.
The problem here is very poor git's default commit email template, and
duplicating metainformation that can be automatically inferred from the
commit is conceptually wrong.
Subject line should contain commit identifier, branch name, and a list
of files, directories, or the top directory of the commit. Subversion
did this right, FWIW. Take a look at old commit logs in comparison and
notice how cleaner and better they were.
Li-Wen told me that they are working on improving email template (as it
has other deficiencies as well), so let's hope this issue would be fixed
at the proper level and people won't have to write idiotic subject-like
lines in their commit logs.
./danfe
More information about the dev-commits-ports-all
mailing list