From: Eric Wong Date: Thu, 20 Oct 2022 08:43:11 +0000 (+0000) Subject: githttpbackend: remove unused $BIN variable X-Git-Url: http://www.git.stargrave.org/?p=public-inbox.git;a=commitdiff_plain;h=619f4d617356c945321636e85b51ab4594d9e19d githttpbackend: remove unused $BIN variable It hasn't been used in many years since commit c1630b7dc4ef (githttpbackend: match Content-Type of git-http-backend(1), 2016-07-03) --- diff --git a/lib/PublicInbox/GitHTTPBackend.pm b/lib/PublicInbox/GitHTTPBackend.pm index 72b8e6c3..1eb51f27 100644 --- a/lib/PublicInbox/GitHTTPBackend.pm +++ b/lib/PublicInbox/GitHTTPBackend.pm @@ -27,7 +27,6 @@ my @binary = ('objects/[a-f0-9]{2}/[a-f0-9]{38,62}', 'objects/pack/pack-[a-f0-9]{40,64}\.(?:pack|idx)'); our $ANY = join('|', @binary, @text, 'git-upload-pack'); -my $BIN = join('|', @binary); my $TEXT = join('|', @text); sub serve {