From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-4.2 required=3.0 tests=ALL_TRUSTED,AWL,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF shortcircuit=no autolearn=ham autolearn_force=no version=3.4.6 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 88F8D1F4C8 for ; Tue, 12 Nov 2024 20:34:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=80x24.org; s=selector1; t=1731443674; bh=zI1v3etxzSY9q/5XZ8Sm5ymWwWVq6Dmr/DFsFWDx2P0=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Zuy+9TJctNPzUsN/lsQ2oPQDfsNpmAMpYA+GKDVbPH4GOztRYFQhmkdEPqoaKerKb xR+agcvSjWQYakHM6JzYw9DoNAix201RvhVeJHbtTAFw/Xae+FuqplWlQDYSRKIZ3/ Fh+aHQoENA1NYIDucWcXxa3kbQa7gVLwBDYUp/ak= From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 2/4] www_coderepo: drop unused File::Spec import Date: Tue, 12 Nov 2024 20:34:31 +0000 Message-ID: <20241112203433.2515907-3-e@80x24.org> In-Reply-To: <20241112203433.2515907-1-e@80x24.org> References: <20241112203433.2515907-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: I initially thought File::Spec->abs2rel would be used in this file, but it turns out `prurl' is a better place to call abs2rel. --- lib/PublicInbox/WwwCoderepo.pm | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/PublicInbox/WwwCoderepo.pm b/lib/PublicInbox/WwwCoderepo.pm index 413dfee5..8be8ada0 100644 --- a/lib/PublicInbox/WwwCoderepo.pm +++ b/lib/PublicInbox/WwwCoderepo.pm @@ -22,7 +22,6 @@ use PublicInbox::RepoTree; use PublicInbox::RepoList; use PublicInbox::OnDestroy; use URI::Escape qw(uri_escape_utf8); -use File::Spec; use autodie qw(fcntl open); use PublicInbox::Git qw(git_exe);