Subject: Re: [PATCH 07/14] t/lib-git-svn: make hash size independent

From: "brian m. carlson" <[email-masked]>
Date: Sat, 20 Jun 2020 13:18:46 +0000

On 2020-06-20 at 08:02:53, Andreas Schwab wrote:
> On Jun 19 2020, brian m. carlson wrote:
> 
> > diff --git a/t/lib-git-svn.sh b/t/lib-git-svn.sh
> > index 7d248e6588..4780b45337 100644
> > --- a/t/lib-git-svn.sh
> > +++ b/t/lib-git-svn.sh
> > @@ -78,29 +78,30 @@ maybe_start_httpd () {
> >  }
> >  
> >  convert_to_rev_db () {
> > -	perl -w -- - "$@" <<\EOF
> > -use strict;
> > +	perl -w -e "use strict; my \$oidlen = $(test_oid rawsz);" -e '
> 
> $(test_oid rawsz) could be passed as an additional argument.
> 
> perl -w -- - "$(test_oid rawsz)" "$@" <<\EOF
> use strict;
> my $oidlen = shift;
> ...
> EOF

Sure, I could do that.  I originally tried to pass it through the
environment, but that didn't appear to work as I expected.
-- 
brian m. carlson: Houston, Texas, US
OpenPGP: https://keybase.io/bk2204