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

Re: [PATCH v1 3/3] difftool: add space after full stop in comments

From
Carlo Arenas <carenas@gmail.com>
Date
Oct 2, 2021, 20:12 UTC
Message-ID
<CAPUEspgC80_jMJ6Vy8G7YW0v9NXusGCSLzpeBgVZFXpPKJ7a7w@mail.gmail.com>
In-Reply-To
<CABPp-BGq27kdugX5JivX7uFLmCmHXCsRjqfaA1Q2PXHZ4hCznw@mail.gmail.com>
On Sat, Oct 2, 2021 at 12:38 PM Elijah Newren <newren@gmail.com> wrote:
Show 10 quoted lines
>
> On Sat, Oct 2, 2021 at 11:49 AM Andrei Rybak <rybak.a.v@gmail.com> wrote:
> >
> > These punctuation typos were found using:
> >
> >     git grep -P ' [a-z0-9A-Z-]+[.][A-Z][A-Za-z-]+ '
>
> While Junio has commented that two spaces after the full stop in
> fixed-width source code viewing looks better, and I personally prefer
> that style as well, I don't think these are worth "fixing".

FWIW those are not adding a second space, but adding ANY space between a "." and beginning of the next sentence.

> you separated this from the other changes, but I'd rather see this
> patch dropped.

While I don't think encouraging this kind of "fixes" might make sense, the work was already done and the "churn" is very small (only 2 places out of ~2K), where we have in the codebase: ".<space><space>"

Carlo
Previous: Elijah NewrenNext: Elijah Newren
Message 9 of 11 in “Typofixes”
  1. 0/3 TypofixesAndrei Rybak, Oct 2, 2021
  2. 1/3 *: spell Latin abbreviations correctlyAndrei Rybak, Oct 2, 2021
  3. Elijah NewrenOct 2, 2021
  4. Ævar Arnfjörð BjarmasonOct 2, 2021
  5. 2/3 *: fix spelling typosAndrei Rybak, Oct 2, 2021
  6. Elijah NewrenOct 2, 2021
  7. 3/3 difftool: add space after full stop in commentsAndrei Rybak, Oct 2, 2021
  8. Elijah NewrenOct 2, 2021
  9. Carlo ArenasOct 2, 2021
  10. Elijah NewrenOct 2, 2021
  11. David AguilarOct 11, 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.