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
Oswald Buddenhagen <oswald.buddenhagen@gmx.de>
Date
Oct 17, 2026, 10:01 UTC
Message-ID
<atNHlNl9mpDqUKb6@ugly.lan>
In-Reply-To
<pull.2257.git.1792058069306.gitgitgadget@gmail.com>
On Thu, Oct 15, 2026 at 09:54:29AM +0000, Raj Ojha via GitGitGadget wrote:
Show 7 quoted lines
>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?
Previous: Junio C HamanoNext: Junio C Hamano
Message 3 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.