]> Sergey Matveev's repositories - public-inbox.git/commitdiff
git: remove POSIX::dup2 import
authorEric Wong <e@yhbt.net>
Tue, 3 Mar 2020 10:11:20 +0000 (10:11 +0000)
committerEric Wong <e@yhbt.net>
Wed, 4 Mar 2020 10:47:46 +0000 (10:47 +0000)
We rely on spawn/popen_rd for redirects, nowadays.

lib/PublicInbox/Git.pm

index 7eaaeb8bc181531914e83d7ef111c2f83e2de247..9c96b3f0b6920acbcfd4a103e3ec14a7ec8618b6 100644 (file)
@@ -9,7 +9,7 @@
 package PublicInbox::Git;
 use strict;
 use warnings;
 package PublicInbox::Git;
 use strict;
 use warnings;
-use POSIX qw(dup2);
+use POSIX ();
 use IO::Handle; # ->autoflush
 use File::Glob qw(bsd_glob GLOB_NOSORT);
 use PublicInbox::Spawn qw(popen_rd);
 use IO::Handle; # ->autoflush
 use File::Glob qw(bsd_glob GLOB_NOSORT);
 use PublicInbox::Spawn qw(popen_rd);