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

How to localize "git push"?

From
Peter Krefting <peter@softwolves.pp.se>
Date
Nov 26, 2025, 07:50 UTC
Message-ID
<f2cb6da7c17e8de829c3e4cb066684e2@softwolves.pp.se>
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: brian m. carlson
Message 1 of 2 in “How to localize "git push"?”
  1. Peter KreftingNov 26, 2025
  2. brian m. carlsonNov 27, 2025

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.