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

Re: [PATCH] describe: use Q_() for pluralization of commit and tag counts

From
Junio C Hamano <gitster@pobox.com>
Date
Oct 17, 2026, 16:27 UTC
Message-ID
<xmqqmrscb8di.fsf@gitster.g>
In-Reply-To
<atNHlNl9mpDqUKb6@ugly.lan>
Oswald Buddenhagen <oswald.buddenhagen@gmx.de> writes:
Show 11 quoted lines
> On Thu, Oct 15, 2026 at 09:54:29AM +0000, Raj Ojha via GitGitGadget wrote:
>>In `describe_commit()`, debug messages print the number of commits
>>traversed and the number of candidate tags found using basic `_()`
>>localization format strings:
>>
>>    _("traversed %lu commits\n")
>>    _("found %i tags; gave up search at %s\n")
>>
> i wonder why _debug_ messages are i18n'd in the first place? their 
> target audience would usually be the git developers. or is this just a 
> misnomer?
Funny that great minds think alike.
  https://lore.kernel.org/git/20261014092923.GA1344504@coredump.intra.peff.net/
which led to
  https://lore.kernel.org/git/20261016185418.162998-1-antekborowski11@gmail.com/
;-)
Previous: Oswald Buddenhagen
Message 4 of 4 in “describe: use Q_() for pluralization of commit and tag counts”
  1. describe: use Q_() for pluralization of commit and tag countsRaj Ojha via GitGitGadget, Oct 15, 2026
  2. Junio C HamanoOct 16, 2026
  3. Oswald BuddenhagenOct 17, 2026
  4. Junio C HamanoOct 17, 2026

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.