summaryrefslogtreecommitdiff
path: root/bin/git-push-all
diff options
context:
space:
mode:
Diffstat (limited to 'bin/git-push-all')
-rwxr-xr-xbin/git-push-all3
1 files changed, 2 insertions, 1 deletions
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');