summaryrefslogtreecommitdiff
path: root/bin/git-push-all
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2016-06-28 09:44:52 +0000
committerSean Whitton <spwhitton@spwhitton.name>2016-06-28 09:44:52 +0000
commit3a8a6071094f57263d7f04be7350f72c103344b5 (patch)
tree14a4fd3d061a4ae84ba3094fc3dbf7dc1499487e /bin/git-push-all
parent246cace3499d4fb8fad730a0d54df23f6c192d24 (diff)
downloaddotfiles-3a8a6071094f57263d7f04be7350f72c103344b5.tar.gz
git-push-all: use uniq on other list of remotes
Diffstat (limited to 'bin/git-push-all')
-rwxr-xr-xbin/git-push-all2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/git-push-all b/bin/git-push-all
index 027da151..dec5eb0c 100755
--- a/bin/git-push-all
+++ b/bin/git-push-all
@@ -62,7 +62,7 @@ my $pushRemotes = $config->get_regexp( key => "branch\..*\.pushRemote" );
my @pushRemotes = uniq(values %$pushRemotes);
my $pushDefault = $config->get( key => "remote.pushDefault" );
push @pushRemotes, $pushDefault if ( defined $pushDefault );
-my @remotes = $git->remote;
+my @remotes = uniq($git->remote);
if ( defined $pushDefault ) {
# mode one: assume that there are read-only remotes