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

Re: [PATCH] doc: move rev-list option -<n> from git-log.txt to rev-list-options.txt

From
Nguyen Thai Ngoc Duy <pclouds@gmail.com>
Date
Sep 8, 2012, 16:11 UTC
Message-ID
<CACsJy8CmwvR+ZN5eoqpn=yj0GdmgWsOGQNpUK2GetktKuZ36iQ@mail.gmail.com>
In-Reply-To
<7vwr05yctv.fsf@alter.siamese.dyndns.org>
On Sat, Sep 8, 2012 at 12:14 AM, Junio C Hamano <gitster@pobox.com> wrote:
Show 9 quoted lines
> Michael J Gruber <git@drmicha.warpmail.net> writes:
>>>  Documentation/git-log.txt          | 6 ++----
>>>  Documentation/rev-list-options.txt | 3 ++-
>>>  2 tập tin đã bị thay đổi, 4 được thêm vào(+), 5 bị xóa(-)
>>
>> That is one reason why "core.local=C" (repo specific) and "git -c
>> core.locale=C" (can be used in an alias) would be useful ;)
>
> Or "LC_ALL=C LANG=C git format-patch ...".

The only problem is I forget to do that from time to time (and doing that bothers me too)

> It does not bother me (even though I do not read Vietnamese), but
> this has been brought up a few times, and we may want to revert the
> i18n of the diffstat summary.  It does not seem to add much value to
> the system but annoys people.

That's one step towards a better interface for non English speaking users. "git log" interface for example still shows Author, Commit, Date in English and these strings are shared with format-patch. Reverting back to English to me is a step back.

This brings back to a series I posted about two weeks ago and got no comments
http://article.gmane.org/gmane.comp.version-control.git/204285

I think it's a reasonable approach. Use English for machine interface, otherwise a native language if available.

> After all, the "upstream" diffstat
> does not localizes this string (I just checked diffstat-1.55 with
> Jan 2012 timestamp).
-- 
Duy
Previous: Junio C Hamano
Message 4 of 4 in “doc: move rev-list option -<n> from git-log.txt to rev-list-options.txt”
  1. doc: move rev-list option -<n> from git-log.txt to rev-list-options.txtNguyễn Thái Ngọc Duy, Sep 6, 2012
  2. Michael J GruberSep 7, 2012
  3. Junio C HamanoSep 7, 2012
  4. Nguyen Thai Ngoc DuySep 8, 2012

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.