From: Junio C Hamano <gitster@pobox.com>
To: Jeff King <peff@peff.net>
Cc: "brian m. carlson" <sandals@crustytoothpaste.net>,
git@vger.kernel.org, Nikos Chantziaras <realnc@gmail.com>
Subject: Re: [PATCH] svn: use correct variable name for short OID
Date: Thu, 22 Oct 2020 12:29:58 -0700 [thread overview]
Message-ID: <xmqq3626m53d.fsf@gitster.c.googlers.com> (raw)
In-Reply-To: <20201022032400.GC1480820@coredump.intra.peff.net> (Jeff King's message of "Wed, 21 Oct 2020 23:24:00 -0400")
Jeff King <peff@peff.net> writes:
> The fact that we have to touch every perl file is a bit ugly. So I
> dunno. Maybe worth it, or maybe too nasty.
Just a single pragma per file? That does not sound too bad at least
to me.
Thanks, queued.
> Note that the mapping from the GIT_TEST_* form to the GIT_* form in
> test-lib.sh is necessary even if they had the same name: the perl
> scripts need it to be normalized to a perl truth value, and we also have
> to make sure it's exported (we might have gotten it from the
> environment, but we might also have gotten it from GIT-BUILD-OPTIONS
> directly).
And GIT_PERL_FATAL_WARNINGS is cleared together with the other GIT_*
options upfront, so here we only need to worry about setting and
exporting it. Makes sense.
> diff --git a/t/test-lib.sh b/t/test-lib.sh
> index ef31f40037..dfad820dd4 100644
> --- a/t/test-lib.sh
> +++ b/t/test-lib.sh
> @@ -499,6 +499,12 @@ then
> export GIT_INDEX_VERSION
> fi
>
> +if test -n "$GIT_TEST_PERL_FATAL_WARNINGS"
> +then
> + GIT_PERL_FATAL_WARNINGS=1
> + export GIT_PERL_FATAL_WARNINGS
> +fi
> +
> # Add libc MALLOC and MALLOC_PERTURB test
> # only if we are not executing the test with valgrind
> if test -n "$valgrind" ||
prev parent reply other threads:[~2020-10-22 19:30 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-21 18:42 git svn log: Use of uninitialized value $sha1_short Nikos Chantziaras
2020-10-21 20:26 ` Jeff King
2020-10-21 20:48 ` Junio C Hamano
2020-10-21 21:29 ` Jeff King
2020-10-21 22:29 ` brian m. carlson
2020-10-22 2:56 ` Jeff King
2020-10-21 22:21 ` brian m. carlson
2020-10-22 1:18 ` [PATCH] svn: use correct variable name for short OID brian m. carlson
2020-10-22 3:00 ` Jeff King
2020-10-22 3:24 ` Jeff King
2020-10-22 19:29 ` Junio C Hamano [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=xmqq3626m53d.fsf@gitster.c.googlers.com \
--to=gitster@pobox.com \
--cc=git@vger.kernel.org \
--cc=peff@peff.net \
--cc=realnc@gmail.com \
--cc=sandals@crustytoothpaste.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).