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

Re: [PATCH] t5534: split stdout and stderr redirection

From
Đoàn Trần Công Danh <congdanhqx@gmail.com>
Date
Oct 7, 2020, 00:15 UTC
Message-ID
<20201007001551.GA10178@danh.dev>
In-Reply-To
<xmqqft6r5fwb.fsf@gitster.c.googlers.com>
On 2020-10-06 12:11:00-0700, Junio C Hamano <gitster@pobox.com> wrote:
Show 15 quoted lines
> Đoàn Trần Công Danh  <congdanhqx@gmail.com> writes:
> 
> >  Arguably, I would say it's OK to change the:
> >  	
> >  	test_i18ngrep ! "gpg failed to sign"
> >
> >  to:
> >
> >  	! grep "gpg failed to sign"
> >
> >  since the latter will be correct even if GIT_TEST_GETTEXT_POISON=true
> 
> Is it because we haven't managed to translate this particular
> message, or is it because we should never ever translate it perhaps
> because the message is meant for machine consumption?
We translated that message.
> If the latter, yes, I agree with the reasoning,
> but I do not see a reason why this message should never be translated.

I was wrong, I thought test_i18ngrep will blindly "return 0", it does call grep on "test_i18ngrep !"

Please ignore my non-sense in the foot-note. I guess the main part is still good, though.

Thanks,
-- 
Danh
Previous: Junio C HamanoNext: Junio C Hamano
Message 3 of 4 in “t5534: split stdout and stderr redirection”
  1. t5534: split stdout and stderr redirectionĐoàn Trần Công Danh, Oct 6, 2020
  2. Junio C HamanoOct 6, 2020
  3. Đoàn Trần Công DanhOct 7, 2020
  4. Junio C HamanoOct 7, 2020

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.