git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] gc: remove trailing dot from "gc.log" line

From
Eric Sunshine <sunshine@sunshineco.com>
Date
Aug 31, 2021, 18:23 UTC
Message-ID
<CAPig+cTaJ=xm=K5Y8yn8RiOFHBH-nzhRztYRz3kYsqsyJUTACg@mail.gmail.com>
In-Reply-To
<xmqqpmtttr56.fsf@gitster.g>
On Tue, Aug 31, 2021 at 2:18 PM Junio C Hamano <gitster@pobox.com> wrote:
Show 20 quoted lines
> Eric Sunshine <sunshine@sunshineco.com> writes:
> > On Tue, Aug 31, 2021 at 10:37 AM Ævar Arnfjörð Bjarmason
> > <avarab@gmail.com> wrote:
> >>                 warning(_("The last gc run reported the following. "
> >>                                "Please correct the root cause\n"
> >> -                              "and remove %s.\n"
> >> +                              "and remove %s\n"
> >
> > Even more bikeshedding:
> >
> >     Please correct the root cause and remove
> >     /path/to/repo/.git/gc.log
> >     to allow automatic cleanup to resume.
> >
> > or something.
>
> I also found the line break before "and remove" strange, but I think
> that is because the "Please" is not at the beginning of the
> paragraph, but is a second sentence.  Perhaps unfolding "and remove"
> would make the first line overly long?

Yep, you're right, and perhaps my "Even more bikeshedding" didn't clearly indicate that I was bikeshedding more about combining the "Please correct..." and "Automatic cleanup..." sentences into a single sentence, both as a another way to deal with the punctuation issue (thus allowing easy double-click) and to make the whole thing read a bit better.

Previous: Junio C HamanoNext: Ævar Arnfjörð Bjarmason
Message 5 of 8 in “UX suggestion”
  1. Jan JudasAug 31, 2021
  2. gc: remove trailing dot from "gc.log" lineÆvar Arnfjörð Bjarmason, Aug 31, 2021
  3. Eric SunshineAug 31, 2021
  4. Junio C HamanoAug 31, 2021
  5. Eric SunshineAug 31, 2021
  6. Ævar Arnfjörð BjarmasonAug 31, 2021
  7. Eric SunshineSep 1, 2021
  8. Jan JudasSep 2, 2021

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.