From: Junio C Hamano <gitster@pobox.com>
To: Aniket Gupta <aniketgupta3001@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: [GSoC PATCH v2] object-name: use Q_() for the reflog entry count
Date: Sat, 24 Oct 2026 21:26:01 -0700 [thread overview]
Message-ID: <xmqqa4o2z9ra.fsf@gitster.g> (raw)
In-Reply-To: <20261024152931.440-1-aniketgupta3001@gmail.com> (Aniket Gupta's message of "Sat, 24 Oct 2026 15:29:31 +0000")
Aniket Gupta <aniketgupta3001@gmail.com> writes:
> 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.
next prev parent reply other threads:[~2026-10-25 4:26 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-24 15:29 [GSoC PATCH v2] object-name: use Q_() for the reflog entry count Aniket Gupta
2026-10-25 4:26 ` Junio C Hamano [this message]
-- strict thread matches above, loose matches on Subject: below --
2026-10-23 13:31 [GSoC PATCH] " Aniket Gupta
2026-10-25 6:12 ` [GSoC PATCH v2] " Aniket Gupta
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=xmqqa4o2z9ra.fsf@gitster.g \
--to=gitster@pobox.com \
--cc=aniketgupta3001@gmail.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox