summaryrefslogtreecommitdiff
path: root/bin/git-push-all
diff options
context:
space:
mode:
Diffstat (limited to 'bin/git-push-all')
-rwxr-xr-xbin/git-push-all4
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/git-push-all b/bin/git-push-all
index c782082a..027da151 100755
--- a/bin/git-push-all
+++ b/bin/git-push-all
@@ -66,13 +66,17 @@ my @remotes = $git->remote;
if ( defined $pushDefault ) {
# mode one: assume that there are read-only remotes
+ print "DEBUG: pushing to pushDefault alone\n";
foreach my $remote ( @pushRemotes ) {
+ print "DEBUG: pushing $remote\n";
system "git push --follow-tags $remote :"
unless ( $remote eq "dgit" );
}
} else {
# mode two: assume we can write to all remotes
+ print "DEBUG: pushing to all remotes\n";
foreach my $remote ( @remotes ) {
+ print "DEBUG: pushing $remote\n";
system "git push --tags $remote :"
unless ( $remote eq "dgit" );
}