From: Peter Krefting <peter@softwolves•pp.se>
To: git@vger•kernel.org
Subject: How to localize "git push"?
Date: Wed, 26 Nov 2025 08:50:15 +0100 [thread overview]
Message-ID: <f2cb6da7c17e8de829c3e4cb066684e2@softwolves.pp.se> (raw)
Hi!
Re: https://fosstodon.org/@McPringle/115611195011002487
The message shown when running "git push" without any changes queued is
always shown in English, whereas the corresponding message in "git pull"
is properly localized.
I looked at the sources, and the string "Everything up-to-date\n" is
included in both builtin/send-pack.c and transport.c, with both
instances annotated with a comment "stable plumbing output; do not
modify or localize".
How do we fix that? Having the message show in English from "git push"
is confusing. What is the corresponding plumbing command that needs to
have it machine-readable, so that we can fork that to fix "git push"?
--
\\// Peter - http://www.softwolves.pp.se/
next reply other threads:[~2025-11-26 8:06 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-11-26 7:50 Peter Krefting [this message]
2025-11-27 23:05 ` How to localize "git push"? brian m. carlson
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=f2cb6da7c17e8de829c3e4cb066684e2@softwolves.pp.se \
--to=peter@softwolves$(echo .)pp.se \
--cc=git@vger$(echo .)kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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