From: Eric Sunshine Date: Thu, 13 Oct 2022 17:02:36 GMT Subject: Re: [PATCH] archive: deduplicate verbose printing Message-ID: In-Reply-To: <27ec1253-4d34-1de2-caee-12bcf1dac03e@web.de> On Thu, Oct 13, 2022 at 6:40 AM René Scharfe wrote: > +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.