From: Jonathan Tan Date: Tue, 09 May 2017 21:01:58 GMT Subject: [PATCH v3] fixup! don't use perl -i because it's not portable Message-ID: <20170509210158.17898-1-jonathantanmy@google.com> In-Reply-To: Signed-off-by: Jonathan Tan --- Ah...thanks, Johannes, for spotting this. Here's a fixup. t/t5534-push-signed.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/t/t5534-push-signed.sh b/t/t5534-push-signed.sh index 177b933a7..807267b7f 100755 --- a/t/t5534-push-signed.sh +++ b/t/t5534-push-signed.sh @@ -152,11 +152,11 @@ test_expect_success GPG,PERL 'inconsistent push options in signed push not allow # Tweak the push output to make the push option outside the cert # different, then replay it on a fresh dst, checking that ff is not # deleted. - perl -pi -e "s/([^ ])bar/\$1baz/" push && + perl -pe "s/([^ ])bar/\$1baz/" push >push.tweak && prepare_dst && git -C dst config receive.certnonceseed sekrit && git -C dst config receive.advertisepushoptions 1 && - git receive-pack dst out && + git receive-pack dst out && git -C dst rev-parse ff && grep "inconsistent push options" out ' -- 2.13.0.rc2.291.g57267f2277-goog