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

Re: [PATCH] archive: deduplicate verbose printing

From
Eric Sunshine <sunshine@sunshineco.com>
Date
Oct 13, 2022, 17:02 UTC
Message-ID
<CAPig+cRuqq=n=CLkCSH=axLO92=F2JGwNnK51aBEeCoMSdJjqg@mail.gmail.com>
In-Reply-To
<27ec1253-4d34-1de2-caee-12bcf1dac03e@web.de>
On Thu, Oct 13, 2022 at 6:40 AM René Scharfe <l.s.r@web.de> wrote:
Show 5 quoted lines
> +test_expect_success 'git archive --verbose' '
> +       git archive --verbose HEAD >verbose.tar 2>err &&
> +       test_cmp_bin b.tar verbose.tar &&
> +       find a -type d | sed s-\$-/- >verbose.lst &&
> +       find a \! -type d >>verbose.lst &&
Aside: I was curious whether or not we care about older `find`
implementations which don't print anything at all if `-print` isn't
specified, but I see that the test suite already has a mixture of
`find` invocations -- some with and some without `-print` -- so that
answers my question.
Previous: René ScharfeNext: Junio C Hamano
Message 4 of 5 in “archive: deduplicate verbose printing”
  1. archive: deduplicate verbose printingRené Scharfe, Oct 11, 2022
  2. Ævar Arnfjörð BjarmasonOct 11, 2022
  3. René ScharfeOct 13, 2022
  4. Eric SunshineOct 13, 2022
  5. Junio C HamanoOct 13, 2022

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.