From 3b02f5e5a24cee5a4a48b03e81bbe02541b86958 Mon Sep 17 00:00:00 2001 From: Sean Whitton Date: Mon, 23 Mar 2020 17:16:36 -0700 Subject: avoid passing "." to Git::Wrapper::new --- bin/git-push-all | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bin/git-push-all') diff --git a/bin/git-push-all b/bin/git-push-all index f309524d..df3f5af3 100755 --- a/bin/git-push-all +++ b/bin/git-push-all @@ -47,13 +47,14 @@ use warnings; use lib "$ENV{HOME}/src/dotfiles/perl5"; no warnings "experimental::smartmatch"; +use Cwd; use Array::Utils qw{ array_minus }; use Git::Wrapper; use Config::GitLike; use List::MoreUtils qw{ apply }; use Local::Util::Git qw(unpushed_tags); -my $git = Git::Wrapper->new("."); +my $git = Git::Wrapper->new(getcwd); my $config = Config::GitLike->new( confname => 'config' ); $config->load_file('.git/config'); -- cgit v1.2.3