From: Shuqi Liang Date: Tue, 07 Feb 2023 19:55:05 GMT Subject: Re: [PATCH v4 3/3] t4113: put executable lines to test_expect_success Message-ID: In-Reply-To: <230207.86h6vx51x3.gmgdl@evledraar.gmail.com> Hi Ævar, On Tue, Feb 7, 2023 at 3:12 AM Ævar Arnfjörð Bjarmason wrote: > The error doesn't tell us much, instead of "make prove" or "prove > " running e.g.: > > ./t4113-apply-ending.sh -vixd > > Gives you better output. Thanks, this is really helpful. > But this is almost certainly that you're trying to insert leading > whitespace into a line that's in a <<-EOF here-doc, the "-" part of that > means that your leading whitespace is being stripped. > > A typical idiom for that is have a marker for the start of line, and > strip the whitespace with "sed". See this for existing examples: > > git grep 'sed.*\^.*>.*EOF' Thank you for the tip! I'll try to fix the problem as soon as possible. --------- Thanks, Shuqi