Re: [PATCH 07/14] t/lib-git-svn: make hash size independent
- From
brian m. carlson <sandals@crustytoothpaste.net>
- Date
- Jun 20, 2020, 13:18 UTC
- Message-ID
- <20200620131846.GL6531@camp.crustytoothpaste.net>
- In-Reply-To
- <87lfkinp02.fsf@linux-m68k.org>
On 2020-06-20 at 08:02:53, Andreas Schwab wrote:
Show 21 quoted lines
> 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;
> ...
> EOFSure, 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