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

Re: [GSoC PATCH v2] object-name: use Q_() for the reflog entry count

From
Junio C Hamano <gitster@pobox.com>
Date
Oct 25, 2026, 04:26 UTC
Message-ID
<xmqqa4o2z9ra.fsf@gitster.g>
In-Reply-To
<20261024152931.440-1-aniketgupta3001@gmail.com>
Aniket Gupta <aniketgupta3001@gmail.com> writes:
Show 16 quoted lines
> When reflog is asked for an entry that it doesnt have, for eg with
> "HEAD@{5}" get_oid_basic() reports how many entries the log has. The
> message is not marked for plural forms and a log with one entry says
> that "only has 1 entries"
>
> Use Q_() so that the singular is used for one entry so that
> translations for languages with other plural forms also can have the
> right form for each count.
>
> Signed-off-by: Aniket Gupta <aniketgupta3001@gmail.com>
> ---
> Changes since v1: t1506 was also looking for "entries" and thus
> failed with a one-entry reflog. Now it matches "entr" just like Junio
> suggested
>
> v1: https://lore.kernel.org/git/20261023133118.456-1-aniketgupta3001@gmail.com/
Your v2 must be a reply to your v1 message.
Previous: Aniket Gupta
Message 2 of 2 in “object-name: use Q_() for the reflog entry count”
  1. object-name: use Q_() for the reflog entry countAniket Gupta, Oct 24, 2026
  2. Junio C HamanoOct 25, 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.