Re: Test Failure t5510,t5562 - was RE: [ANNOUNCE] Git v2.37.0-rc1
- From
Ævar Arnfjörð Bjarmason <avarab@gmail.com>
- Date
- Jun 20, 2022, 21:33 UTC
- Message-ID
- <220620.86wndbuiin.gmgdl@evledraar.gmail.com>
- In-Reply-To
- <CAPc5daV29NuOkL1rZvzaqhe5fSrY2os42zsQRhtP6p6AJTp2NA@mail.gmail.com>
On Mon, Jun 20 2022, Junio C Hamano wrote:
Show 6 quoted lines
> I was expecting you to use \Q...\E (and passing $remote_url as an > argument to perl script) actually. If you let $remote_url > interpolated by shell into a script of the host language, whether perl > or sed, you'd be responsible for quoting it appropriately for the host > language yourself, and use of single-quote pair would not necessarily > be sufficient, no?
Yes, I wasn't aiming to try to come up with an ideal Perl version, just wondering why it needed the s/perl/sed/ while-we're-at-it...