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

Re: [PATCH v2] convert: fail gracefully upon missing clean cmd on required filter

From
MÅMartin Ågren <martin.agren@gmail.com>
Date
Feb 28, 2021, 20:01 UTC
Message-ID
<CAN0heSpZ4938f+Wd_LOnykCpLbWernXzLJU02LA79axcGCA_-Q@mail.gmail.com>
In-Reply-To
<ead5b3145c0cbf726c2fe06f5c95536373c85265.1614354223.git.matheus.bernardino@usp.br>
On Fri, 26 Feb 2021 at 17:24, Matheus Tavares <matheus.bernardino@usp.br> wrote:
> This assertion is not really necessary, as the apply_filter() call below
> it already performs the same check. And when this condition is not met,
> -       assert(ca.drv->clean || ca.drv->process);
FWIW, this LGTM.
> +       test_i18ngrep "fatal: test.ac: clean filter .absentclean. failed" stderr
> +       test_i18ngrep "fatal: test.as: smudge filter absentsmudge failed" stderr

(Funny how these two error messages differ in quoting. That's obviously not anything your patch needs to fix.)

Martin
Previous: Matheus Tavares
Message 5 of 5 in “convert: fail gracefully upon missing clean cmd on required filter”
  1. convert: fail gracefully upon missing clean cmd on required filterMatheus Tavares, Feb 25, 2021
  2. Junio C HamanoFeb 25, 2021
  3. Martin ÅgrenFeb 26, 2021
  4. convert: fail gracefully upon missing clean cmd on required filterMatheus Tavares, Feb 26, 2021
  5. Martin ÅgrenFeb 28, 2021

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.