public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Segher Boessenkool <segher@kernel.crashing.org>
To: Gerald Pfeifer <gerald@pfeifer.com>
Cc: gcc@gcc.gnu.org
Subject: Re: More consistency for Git log messages?
Date: Wed, 30 Dec 2020 08:19:58 -0600	[thread overview]
Message-ID: <20201230141958.GK2672@gate.crashing.org> (raw)
In-Reply-To: <43eb3d64-2d5d-cbc9-3e3e-e06eedc2704b@pfeifer.com>

On Tue, Dec 29, 2020 at 12:54:53AM +0100, Gerald Pfeifer wrote:
> Having spent a bit more time with GCC sources (as opposed to wwwdocs) 
> recently and looking for prior art to guide me, I noticed there's a 
> lot of options to specific the ChangeLog file(s) to use.
> 
> And correspondingly a lot of inconsistency.
> 
> Right now we seem to allow for
> 
>  1. gcc/cp/ChangeLog
>  2. gcc/cp/ChangeLog:
>  3. gcc/cp
>  4. gcc/cp:
>  5. gcc/cp/
> 
> and probably more.
> 
> Can we streamline this a bit and converge on one of the forms 3-5?
> 
> Personally I'd suggest 3 (the shortest) or 5 (the directory), but whatever 
> ... as long as things become more consistent, which is easier on newbies
> and reading logs (or automatically processing them later on).

I have done 5 for many years.  The colon isn't a great choice imo, the
changelog messages themselves contain colons as well, and it is nice to
have this visually distinct.  "gcc/" looks a lot better than just "gcc"
(and similar for other dirs, but less bad).  (I often left it out
completely if it would have been just gcc/, since it was just for
humans, pretty much all of the changelog format is not machine-parseable
without AI advances anyway, so heh).

But 1 and 2 are much worse indeed :-)  Unnecessary words distract from
the actual content.


Segher

  parent reply	other threads:[~2020-12-30 14:21 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-28 23:54 Gerald Pfeifer
2020-12-29  8:49 ` Jonathan Wakely
2020-12-30 21:34   ` Martin Sebor
2020-12-30 14:19 ` Segher Boessenkool [this message]
2020-12-30 14:25   ` H.J. Lu
2020-12-30 14:49 ` Jakub Jelinek
2021-01-06  8:23   ` Martin Liška

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20201230141958.GK2672@gate.crashing.org \
    --to=segher@kernel.crashing.org \
    --cc=gcc@gcc.gnu.org \
    --cc=gerald@pfeifer.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).