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

Re: [PATCH] t5404: relax overzealous test

From
Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Date
Apr 6, 2018, 20:35 UTC
Message-ID
<87tvsoysww.fsf@evledraar.gmail.com>
In-Reply-To
<20180406195331.GC11450@sigill.intra.peff.net>
On Fri, Apr 06 2018, Jeff King wrote:
Show 10 quoted lines
> On Fri, Apr 06, 2018 at 09:31:22PM +0200, Johannes Schindelin wrote:
>> This patch chooses instead to look for the prefix "error:" at the
>> beginning of the line, so that there can be no ambiguity that any catch
>> was indeed a message generated by Git's `error_builtin()` function.
>
> Yep, this seems obviously correct.
>
> Right now we do not localize the "error" string, but I wonder if this
> ought to use test_i18ngrep. With or without that change, the patch looks
> good to me.
I think it's much better not to do that.

There's value in the i18n versions checking for only those things that are translated, and no more, because we should really be on the lookout for any i18n changes that potentially change plumbing output, or other things programs expect to parse.

Previous: Jeff KingNext: Junio C Hamano
Message 5 of 7 in “t5404: relax overzealous test”
  1. t5404: relax overzealous testJohannes Schindelin, Apr 6, 2018
  2. Jeff KingApr 6, 2018
  3. Johannes SchindelinApr 6, 2018
  4. Jeff KingApr 6, 2018
  5. Ævar Arnfjörð BjarmasonApr 6, 2018
  6. Junio C HamanoApr 9, 2018
  7. Johannes SchindelinApr 9, 2018

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.